Occurs when tracked changes are about to be temporarily saved to a data store.
public event SessionManipulationEventHandler BeforeFlushChanges
Public Event BeforeFlushChanges As SessionManipulationEventHandler
The BeforeFlushChanges event handler receives an argument of the SessionManipulationEventArgs type.
The following properties provide information specific to this event.
This event is raised when a list of tracked changes is about to be processed via the Session.FlushChanges or Session.FlushChangesAsync method call. The event parameter's SessionManipulationEventArgs.Session property allows you to identify the currently used session.
After a list of tracked changes has been processed and the list is about to be cleared, the Session.AfterFlushChanges event is raised.