ObjectMaterialized and SavingChanges events in Entity Framework 7?

asp.net c# entity-framework entity-framework-core

Question

ObjectMaterialized and SavingChanges were two very useful events in previous versions of Entity Framework. Those events actually belonged to the underlying ObjectContext API, which no longer exists in Entity Framework 7.

So what are the corresponding entity lifecycle events in Entity Framework 7 that can be used for customized extensions?

Popular Answer

Doesn't look like there is anything yet - both of the following Github issues are on the Entity Framework 7 Backlog, so they're expected, but not before RTM:



Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why