Back to Devexpress

BaseObjectSpace.ObjectSaving Event

expressappframework-devexpress-dot-expressapp-dot-baseobjectspace.md

latest1.9 KB
Original Source

BaseObjectSpace.ObjectSaving Event

Raised before saving changes made to a specified persistent object to the database.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public event EventHandler<ObjectManipulatingEventArgs> ObjectSaving
vb
Public Event ObjectSaving As EventHandler(Of ObjectManipulatingEventArgs)

Event Data

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

PropertyDescription
ObjectProvides access to the object that is being manipulated.

Remarks

The ObjectSaving event is supposed to be raised by the BaseObjectSpace class’ descendants before saving changes made to the object passed as the handler’s ObjectManipulationEventArgs.Object parameter. The object changes are the ones made after the last call of the BaseObjectSpace.CommitChanges method.

Implements

ObjectSaving

See Also

BaseObjectSpace Class

BaseObjectSpace Members

DevExpress.ExpressApp Namespace