Occurs when a transaction is about to be started via the BEGIN operation.
public event SessionManipulationEventHandler BeforeBeginTransaction
Public Event BeforeBeginTransaction As SessionManipulationEventHandler
The BeforeBeginTransaction event handler receives an argument of the SessionManipulationEventArgs type.
The following properties provide information specific to this event.
The BeforeBeginTransaction event is raised when a transaction is about to be started via the BEGIN operation (Session.BeginTransaction or ExplicitUnitOfWork.BeginTransaction). The event parameter's SessionManipulationEventArgs.Session property allows the processed session to be identified.
After a transaction has been started via the BEGIN operation, the Session.AfterBeginTransaction event is raised.