Back to Devexpress

BaseObjectSpace Events

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

latest4.5 KB
Original Source

BaseObjectSpace Events

A base class for the classes that implement the IObjectSpace interface.

NameDescription
CommittedRaised after saving changes made to persistent objects belonging to the current Object Space to the database.
CommittingOccurs before saving the persistent objects belonging to the current Object Space 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 process for committing changes made to persistent objects with a custom one.
CustomDeleteObjectsOccurs to replace the default process of deleting persistent objects with a custom one.
CustomRefreshOccurs to replace the default process of refreshing persistent objects with a custom one.
CustomRollBackOccurs to replace the default process of persistent objects rollback with a custom one.
DisposedOccurs before an Object Space is disposed of.
ModifiedChangedOccurs when the current Object Space’s BaseObjectSpace.IsModified state is changed.
ModifiedChangingOccurs before the IsModified property is changed to true. Handle this event to cancel the property change or force the IsModified property to change.
ObjectChangedRaised when a persistent object is created, changed or deleted.
ObjectDeletedOccurs after the specified objects have been deleted.
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 has been reloaded from the database.
ObjectSavedOccurs after saving changes made to a specified persistent object to the database.
ObjectSavingRaised before saving changes made to a specified persistent object to the database.
RefreshingOccurs before refreshing the current Object Space’s persistent objects.
ReloadedOccurs when the BaseObjectSpace.Rollback or BaseObjectSpace.Refresh method is called.
RollingBackOccurs before rolling back the changes made to the current Object Space’s persistent objects.

See Also

BaseObjectSpace Class

BaseObjectSpace Members

DevExpress.ExpressApp Namespace