How to fix up navigation collection without reloading?
Open
area-change-tracking
customer-reported
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
Hello. I have two navigation collections contains common entity inside. Atter I reloaded one of them, other navigation collection sill contains detached entity. I tried to fix it using ChangeTracker.DetectChanges() method, but unsuccessfully.
How can I replace new entity in other collection without querying database?
[RefreshDetachedIssueSample.zip](https://github.com/dotnet/efcore/files/10508437/RefreshDetachedIssueSample.zip)
Contributor guide
Assessment
This issue has not been assessed yet.