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
It's possible to query the change tracker and do some operations before and after insert/update/delete by overriding the SaveChanges method. but after a while, this method will become unmaintainable. We will have a method with a lot of different responsibilities.
NHibernate has IPreUpdateEventListener & IPreInsertEventListener mechanism to manage it.
Also there are some EF 6.x libraries to simulate it such as:
It's possible to query the change tracker and do some operations before and after insert/update/delete by overriding the SaveChanges method. but after a while, this method will become unmaintainable. We will have a method with a lot of different responsibilities.
NHibernate has IPreUpdateEventListener & IPreInsertEventListener mechanism to manage it.
Also there are some EF 6.x libraries to simulate it such as:
Do you have any plan to add this functionality to EF Core?
The text was updated successfully, but these errors were encountered: