Detect Relationship changes EntityFrameworkCore

Viewed 38

I am currently migrating from Entity Framework 6 to Entity Framework Core and have run into a problem.

I want to be able to detect if there are any relationship changes in my DbContext for all/specific entities. Previously I had leveraged a solution for EF6 as documented here in this SO question: Entity Framework 6: detect relationship changes. However that uses ObectStateManager and GetObjectStateEntries which as far as I can tell aren't available to use in EF Core.

Has anyone any experience in this or guidance on same?

0 Answers
Related