Back to Devexpress

Session.ObjectSaving Event

xpo-devexpress-dot-xpo-dot-session-da37f05f.md

latest1.6 KB
Original Source

Session.ObjectSaving Event

Occurs when an object is about to be saved to a data store.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event ObjectManipulationEventHandler ObjectSaving
vb
Public Event ObjectSaving As ObjectManipulationEventHandler

Event Data

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

PropertyDescription
ObjectGets the object currently being processed.
SessionGets the session whose persistent object is currently being processed.

Remarks

An object’s IXPObject.OnSaving event is raised after the ObjectSaving event.

An object can be saved to a data store using the XPBaseObject.Save method.

See Also

Save()

Session Class

Session Members

DevExpress.Xpo Namespace