Occurs when a transaction (an explicit transaction in an explicit unit of work) is about to be started to track changes made to persistent objects.
public event SessionManipulationEventHandler BeforeBeginTrackingChanges
Public Event BeforeBeginTrackingChanges As SessionManipulationEventHandler
The BeforeBeginTrackingChanges event handler receives an argument of the SessionManipulationEventArgs type.
The following properties provide information specific to this event.
This event is raised when a transaction used to track changes made to persistent objects is about to be started via the Session.BeginTrackingChanges method call. The event parameter's SessionManipulationEventArgs.Session property allows you to identify the currently used session.
After the transaction has been started, the Session.AfterBeginTrackingChanges event is raised.