Back to Devexpress

IObjectSpace Events

expressappframework-devexpress-dot-expressapp-dot-iobjectspace-dot-underscore-events.md

latest4.1 KB
Original Source

IObjectSpace Events

Declares members implemented by Object Space.

NameDescription
CommittedOccurs after persistent object changes are stored in the database.
CommittingOccurs before persistent objects are saved to the database.
ConfirmationRequiredOccurs when performing Refresh or Rollback operations with the current Object Space’s persistent objects.
ConnectedOccurs after a connection to a database has been established.
CustomCommitChangesReplaces the default commit logic with a custom one.
CustomDeleteObjectsThe IObjectSpace.Delete method raises the CustomDeleteObjects event. Handle this event to replace the default persistent object deletion logic with custom logic.
CustomRefreshReplace the default processes of refreshing persistent objects with a custom one.
CustomRollBackReplaces the default process of persistent objects rollback with a custom one.
DisposedOccurs after an Object Space has been disposed of.
ModifiedChangedOccurs when the current Object Space’s IObjectSpace.IsModified state is changed.
ObjectChangedOccurs when a persistent object is created, deleted or changed (when the objects’ INotifyPropertyChanged.PropertyChanged event occurs).
ObjectDeletedOccurs after the specified objects have been deleted from the dataset.
ObjectDeletingOccurs when the specified objects are about to be deleted.
ObjectEndEditOccurs after ending an edit operation taking place on the specified object.
ObjectReloadedOccurs after an object is reloaded from the database.
ObjectSavedOccurs after saving changes made to a specified persistent object to the database.
ObjectSavingOccurs before saving changes made to a specified persistent object to the database.
RefreshingOccurs before refreshing the current Object Space’s persistent objects.
ReloadedOccurs after the current Object Space reconnects to the database.
RollingBackOccurs before rolling back the changes made to the current Object Space’s persistent objects.

See Also

IObjectSpace Interface

IObjectSpace Members

DevExpress.ExpressApp Namespace