Skip to main content
.NET 6.0+

NonPersistentObjectSpace Events

An Object Space used to manage non-persistent objects.
Name Description
Committed Raised after saving changes made to persistent objects belonging to the current Object Space to the database. Inherited from BaseObjectSpace.
Committing Occurs before saving the persistent objects belonging to the current Object Space to the database. Inherited from BaseObjectSpace.
ConfirmationRequired Occurs when performing refresh or rollback operations with the current Object Space’s persistent objects. Inherited from BaseObjectSpace.
Connected Occurs after a connection to a database has been established. Inherited from BaseObjectSpace.
CustomCommitChanges Replaces the default process for committing changes made to persistent objects with a custom one. Inherited from BaseObjectSpace.
CustomDeleteObjects Occurs to replace the default process of deleting persistent objects with a custom one. Inherited from BaseObjectSpace.
CustomGetObjectsQuery Occurs when the GetObjectsQuery<T>(Boolean) method is executed.
CustomRefresh Occurs to replace the default process of refreshing persistent objects with a custom one. Inherited from BaseObjectSpace.
CustomRollBack Occurs to replace the default process of persistent objects rollback with a custom one. Inherited from BaseObjectSpace.
Disposed Occurs before an Object Space is disposed of. Inherited from BaseObjectSpace.
ModifiedChanged Occurs when the current Object Space’s BaseObjectSpace.IsModified state is changed. Inherited from BaseObjectSpace.
ModifiedChanging Occurs before the IsModified property is changed to true. Handle this event to cancel or force the IsModified property to change. Inherited from BaseObjectSpace.
ObjectByKeyGetting Occurs when an object is retrieved by its key, using the NonPersistentObjectSpace.GetObjectByKey method.
ObjectChanged Raised when a persistent object is created, changed or deleted. Inherited from BaseObjectSpace.
ObjectDeleted Occurs after the specified objects have been deleted. Inherited from BaseObjectSpace.
ObjectDeleting Occurs when the specified objects are about to be deleted. Inherited from BaseObjectSpace.
ObjectEndEdit Occurs after ending an edit operation taking place on the specified object. Inherited from BaseObjectSpace.
ObjectGetting Occurs when NonPersistentObjectSpace gets an object using the NonPersistentObjectSpace.GetObject method .
ObjectReloaded Occurs after an object has been reloaded from the database. Inherited from BaseObjectSpace.
ObjectReloading Occurs before an object is reloaded. Handle this event to reload the object state from storage and cancel changes.
ObjectSaved Occurs after saving changes made to a specified persistent object to the database. Inherited from BaseObjectSpace.
ObjectSaving Raised before saving changes made to a specified persistent object to the database. Inherited from BaseObjectSpace.
ObjectsCountGetting Occurs when the NonPersistentObjectSpace.GetObjectsCount method is called.
ObjectsGetting Occurs when NonPersistentObjectSpace creates a collection of non-persistent objects.
Refreshing Occurs before refreshing the current Object Space’s persistent objects. Inherited from BaseObjectSpace.
Reloaded Occurs when the BaseObjectSpace.Rollback or BaseObjectSpace.Refresh method is called. Inherited from BaseObjectSpace.
RollingBack Occurs before rolling back the changes made to the current Object Space’s persistent objects. Inherited from BaseObjectSpace.
See Also