Skip to main content
.NET Framework 4.6.2+

BaseObjectSpace Events

A base class for the classes that implement the IObjectSpace interface.
Name Description
Committed Raised after saving changes made to persistent objects belonging to the current Object Space to the database.
Committing Occurs before saving the persistent objects belonging to the current Object Space to the database.
ConfirmationRequired Occurs when performing refresh or rollback operations with the current Object Space’s persistent objects.
Connected Occurs after a connection to a database has been established.
CustomCommitChanges Replaces the default process for committing changes made to persistent objects with a custom one.
CustomDeleteObjects Occurs to replace the default process of deleting persistent objects with a custom one.
CustomRefresh Occurs to replace the default process of refreshing persistent objects with a custom one.
CustomRollBack Occurs to replace the default process of persistent objects rollback with a custom one.
Disposed Occurs before an Object Space is disposed of.
ModifiedChanged Occurs when the current Object Space’s BaseObjectSpace.IsModified state is changed.
ModifiedChanging Occurs before the IsModified property is changed to true. Handle this event to cancel the property change or force the IsModified property to change.
ObjectChanged Raised when a persistent object is created, changed or deleted.
ObjectDeleted Occurs after the specified objects have been deleted.
ObjectDeleting Occurs when the specified objects are about to be deleted.
ObjectEndEdit Occurs after ending an edit operation taking place on the specified object.
ObjectReloaded Occurs after an object has been reloaded from the database.
ObjectSaved Occurs after saving changes made to a specified persistent object to the database.
ObjectSaving Raised before saving changes made to a specified persistent object to the database.
Refreshing Occurs before refreshing the current Object Space’s persistent objects.
Reloaded Occurs when the BaseObjectSpace.Rollback or BaseObjectSpace.Refresh method is called.
RollingBack Occurs before rolling back the changes made to the current Object Space’s persistent objects.
See Also