The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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
public event SessionManipulationEventHandler BeforeBeginTrackingChanges
Public Event BeforeBeginTrackingChanges As SessionManipulationEventHandler

Event Data

The BeforeBeginTrackingChanges event handler receives an argument of the SessionManipulationEventArgs type. 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