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

EFObjectSpace Events

An Object Space which is used for data manipulation via the Entity Framework.
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.
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.
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.
ObjectReloaded Occurs after an object has been reloaded from the database. Inherited from BaseObjectSpace.
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.
ObjectStateManagerChanged Occurs when entities are added to or removed from the state manager.
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