Back to Devexpress

Session.BeforeBeginTransaction Event

xpo-devexpress-dot-xpo-dot-session-25e1e65e.md

latest1.9 KB
Original Source

Session.BeforeBeginTransaction Event

Occurs when a transaction is about to be started via the BEGIN operation.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event SessionManipulationEventHandler BeforeBeginTransaction
vb
Public Event BeforeBeginTransaction As SessionManipulationEventHandler

Event Data

The BeforeBeginTransaction event's data class is SessionManipulationEventArgs. The following properties provide information specific to this event:

PropertyDescription
SessionGets the session currently being processed.

Remarks

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.

See Also

BeginNestedUnitOfWork()

Session Class

Session Members

DevExpress.Xpo Namespace