You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently EF Core isn't releasing references when entities are removed from the context or detached. It probably doesn't matter when the context is recreated for each small unit of work, but in a winforms application, it would be preferable not to have to recreate the context every time some data needs to be reloaded. Before reloading data into DbSet I tried to clear it by setting the state Detached, but it doesn't work, memory isn't freed.
The text was updated successfully, but these errors were encountered:
Currently EF Core isn't releasing references when entities are removed from the context or detached. It probably doesn't matter when the context is recreated for each small unit of work, but in a winforms application, it would be preferable not to have to recreate the context every time some data needs to be reloaded. Before reloading data into DbSet I tried to clear it by setting the state Detached, but it doesn't work, memory isn't freed.
The text was updated successfully, but these errors were encountered: