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
When updating entities in the DbContext (with LazyLoading enabled) the Local version of the DbContext.Set<TEntity> is not up-to-date.
A way to fix this is to have every entity in the entity graph to be detached after an UpdateAsync call. This way the DbContext will clear those entities from the cache and will fetch them anew on the next query.
When updating entities in the DbContext (with LazyLoading enabled) the Local version of the
DbContext.Set<TEntity>
is not up-to-date.A way to fix this is to have every entity in the entity graph to be detached after an
UpdateAsync
call. This way the DbContext will clear those entities from the cache and will fetch them anew on the next query.Work in progress:
Neuralm-Server/src/Neuralm.Persistence/Extensions/DbContextExtensions.cs
Line 13 in 77930db
The text was updated successfully, but these errors were encountered: