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.ObjectSaving Event

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public event ObjectManipulationEventHandler ObjectSaving
Public Event ObjectSaving As ObjectManipulationEventHandler
public event ObjectManipulationEventHandler ObjectSaving
Public Event ObjectSaving As ObjectManipulationEventHandler

Event Data

The ObjectSaving event handler receives an argument of the ObjectManipulationEventArgs type. The following properties provide information specific to this event.

Property Description
Object Gets the object currently being processed.
Session Gets 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