Back to Devexpress

Session.BeforeBeginTrackingChanges Event

xpo-devexpress-dot-xpo-dot-session-93a46a00.md

latest2.0 KB
Original Source

Session.BeforeBeginTrackingChanges Event

Occurs when a transaction (a database level transaction in an explicit unit of work) is about to be started to track changes made to persistent objects.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event SessionManipulationEventHandler BeforeBeginTrackingChanges
vb
Public Event BeforeBeginTrackingChanges As SessionManipulationEventHandler

Event Data

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

PropertyDescription
SessionGets the session currently being processed.

Remarks

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.

See Also

TrackingChanges

Session Class

Session Members

DevExpress.Xpo Namespace