EntityHooks icon indicating copy to clipboard operation
EntityHooks copied to clipboard

Full control over SaveChanges

Open be4i opened this issue 9 years ago • 0 comments

This way the inheritors have full control over before and after the call to the SaveChanges of the DbContext happens.I had an issue where i needed to implement audit and i wanted the audit to happen after all the pre save hooks are executed.And there was no way to do it except implementing IDbHookRegistrar myself and coping all the functionality of the DbHookContext.

be4i avatar Oct 20 '16 13:10 be4i