Skip to main content
A newer version of this page is available. .

IObjectSpace Events

Declares members implemented by Object Space.
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 Replace the default processes of refreshing persistent objects with a custom one.
CustomRollBack Replaces the default process of persistent objects rollback with a custom one.
Disposed Occurs after an Object Space has been disposed of.
ModifiedChanged Occurs when the current Object Space’s IObjectSpace.IsModified state is changed.
ObjectChanged Occurs when a persistent object is created, deleted or changed (when the objects’ INotifyPropertyChanged.PropertyChanged event occurs).
ObjectDeleted Occurs after the specified objects have been deleted from the dataset.
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 Occurs 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 after the current Object Space reconnects to the database.
RollingBack Occurs before rolling back the changes made to the current Object Space’s persistent objects.
See Also