Back to Devexpress

NonPersistentObjectSpace Events

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

latest8.4 KB
Original Source

NonPersistentObjectSpace Events

An Object Space used to manage non-persistent objects.

NameDescription
CommittedRaised after saving changes made to persistent objects belonging to the current Object Space to the database. Inherited from BaseObjectSpace.
CommittingOccurs before saving the persistent objects belonging to the current Object Space to the database. Inherited from BaseObjectSpace.
ConfirmationRequiredOccurs when performing Refresh or Rollback operations with the current Object Space’s persistent objects. Inherited from BaseObjectSpace.
ConnectedOccurs after a connection to a database has been established. Inherited from BaseObjectSpace.
CustomCommitChangesReplaces the default process for committing changes made to persistent objects with a custom one. Inherited from BaseObjectSpace.
CustomDeleteObjectsOccurs to replace the default process of deleting persistent objects with a custom one. Inherited from BaseObjectSpace.
CustomGetObjectsQueryOccurs when the GetObjectsQuery<T>(Boolean) method is executed.
CustomRefreshOccurs to replace the default process of refreshing persistent objects with a custom one. Inherited from BaseObjectSpace.
CustomRollBackOccurs to replace the default process of persistent objects rollback with a custom one. Inherited from BaseObjectSpace.
DisposedOccurs before an Object Space is disposed of. Inherited from BaseObjectSpace.
ModifiedChangedOccurs when the current Object Space’s BaseObjectSpace.IsModified state is changed. Inherited from BaseObjectSpace.
ModifiedChangingOccurs before the IsModified property is changed to true. Handle this event to cancel the property change or force the IsModified property to change. Inherited from BaseObjectSpace.
ObjectByKeyGettingOccurs when an object is retrieved by its key, using the NonPersistentObjectSpace.GetObjectByKey method.
ObjectChangedRaised when a persistent object is created, changed or deleted. Inherited from BaseObjectSpace.
ObjectDeletedOccurs after the specified objects have been deleted. Inherited from BaseObjectSpace.
ObjectDeletingOccurs when the specified objects are about to be deleted. Inherited from BaseObjectSpace.
ObjectEndEditOccurs after ending an edit operation taking place on the specified object. Inherited from BaseObjectSpace.
ObjectGettingOccurs when NonPersistentObjectSpace gets an object using the NonPersistentObjectSpace.GetObject method .
ObjectReloadedOccurs after an object has been reloaded from the database. Inherited from BaseObjectSpace.
ObjectReloadingOccurs before an object is reloaded. Handle this event to reload the object state from storage and cancel changes.
ObjectSavedOccurs after saving changes made to a specified persistent object to the database. Inherited from BaseObjectSpace.
ObjectSavingRaised before saving changes made to a specified persistent object to the database. Inherited from BaseObjectSpace.
ObjectsCountGettingOccurs when the NonPersistentObjectSpace.GetObjectsCount method is called.
ObjectsGettingOccurs when NonPersistentObjectSpace creates a collection of non-persistent objects.
RefreshingOccurs before refreshing the current Object Space’s persistent objects. Inherited from BaseObjectSpace.
ReloadedOccurs when the BaseObjectSpace.Rollback or BaseObjectSpace.Refresh method is called. Inherited from BaseObjectSpace.
RollingBackOccurs before rolling back the changes made to the current Object Space’s persistent objects. Inherited from BaseObjectSpace.

See Also

NonPersistentObjectSpace Class

NonPersistentObjectSpace Members

DevExpress.ExpressApp Namespace