This question is locked. New answers and comments are not allowed.
I have a requirement to audit changes to persistent objects. I have tried to use [database context].Events.Changed but the event seems to be triggered for each property that is changed.
I need to capture an event which aggregates any and all changes made to a persistent object. This can be either immediately before, or immediately after it has actually been written to the data store.
Is there any current way to achieve this? Or can anyone suggest a possible method? I'm really trying to avoid DB triggers...
I need to capture an event which aggregates any and all changes made to a persistent object. This can be either immediately before, or immediately after it has actually been written to the data store.
Is there any current way to achieve this? Or can anyone suggest a possible method? I'm really trying to avoid DB triggers...