VahidN / EFSecondLevelCache.Core

Entity Framework Core Second Level Caching Library
Apache License 2.0
326 stars 50 forks source link

fix: update cache if owns entities are changed #47

Closed genekofman closed 5 years ago

genekofman commented 5 years ago

Cache was not updated for owned entities: modelBuilder.Entity<User>().OwnsOne(u => u.Notifications); This is because GetChangedEntityTypes returns only the owned entities and does not return the owner entities. Unfortunately, I have no way to fix this for netstandard1.3 and net451.

VahidN commented 5 years ago

Thank you.

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related problems.