.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Session.BeforeBeginTrackingChanges Event

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.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public event SessionManipulationEventHandler BeforeBeginTrackingChanges
Public Event BeforeBeginTrackingChanges As SessionManipulationEventHandler

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