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
I'm moving quite big solution from NHibernate to Entity Framework Core 2.2. Existing solution is using DDD with all BL in Domain models. That business logic is heavily dependent on some objects, which are added to models in custom PostLoadListener, which is registered in Nhibernate Configuration and is triggered each time an Entity is loaded from DB.
I can't find nothing similar in EF. Is there any way in EF to register some custom code (like event handler) which would be triggered every time some entity is read from DB?
The text was updated successfully, but these errors were encountered:
I'm moving quite big solution from NHibernate to Entity Framework Core 2.2. Existing solution is using DDD with all BL in Domain models. That business logic is heavily dependent on some objects, which are added to models in custom PostLoadListener, which is registered in Nhibernate Configuration and is triggered each time an Entity is loaded from DB.
I can't find nothing similar in EF. Is there any way in EF to register some custom code (like event handler) which would be triggered every time some entity is read from DB?
The text was updated successfully, but these errors were encountered: