Back to Devexpress

Session.BeforeFlushChanges Event

xpo-devexpress-dot-xpo-dot-session-3de687ef.md

latest1.9 KB
Original Source

Session.BeforeFlushChanges Event

Occurs when tracked changes are about to be temporarily saved to a data store.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event SessionManipulationEventHandler BeforeFlushChanges
vb
Public Event BeforeFlushChanges As SessionManipulationEventHandler

Event Data

The BeforeFlushChanges 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 list of tracked changes is about to be processed via the Session.FlushChanges or Session.FlushChangesAsync method call. The event parameter’s SessionManipulationEventArgs.Session property allows you to identify the currently used session.

After a list of tracked changes has been processed and the list is about to be cleared, the Session.AfterFlushChanges event is raised.

See Also

BeginTrackingChanges()

TrackingChanges

Session Class

Session Members

DevExpress.Xpo Namespace