Skip to main content
.NET Framework 4.6.2+

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.v24.2.dll

Declaration

public event SessionManipulationEventHandler BeforeBeginTrackingChanges

Event Data

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

Property Description
Session Gets 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