Closed CoreDX9 closed 3 years ago
GoogleChrome installing failed.
Local unit test passed.
EF Core 5.0 method : ChangeTracker.Clear();
public void DetachAllEntities()
{
#if NET5_0
ChangeTracker.Clear();
#else
var changedEntriesCopy = ChangeTracker.Entries().ToList();
foreach (var entry in changedEntriesCopy)
entry.State = EntityState.Detached;
#endif
}
Add .Net 5.0 and EF Core 5.0 support Update unit test to .Net 5.0 Add multiple target frameworks support