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+
.NET Core 3.0+

BaseObjectSpace.ObjectSaving Event

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

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

Event Data

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

Property Description
Object Provides 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.

See Also