Session Events
The session that is used to load and save persistent objects.| Name | Description |
|---|---|
| AfterBeginTrackingChanges | Occurs after a transaction (a database level transaction in an explicit unit of work) has been started tracking changes made to persistent objects. |
| AfterBeginTransaction | Occurs after a transaction has been started via the BEGIN operation. |
| AfterCommitNestedUnitOfWork | Fires after the nested unit of work has been committed. |
| AfterCommitTransaction | Occurs after a transaction has been completed via the COMMIT operation. |
| AfterConnect | Occurs after a connection to a database has been established. |
| AfterDisconnect | Occurs when a connection to a database is closed. |
| AfterDropChanges | Occurs after a list of tracked changes has been cleared. |
| AfterFlushChanges | Occurs after tracked changes have been temporarily saved to a data store. |
| AfterRollbackTransaction | Occurs after a transaction has been completed via the ROLLBACK operation. |
| BeforeBeginTrackingChanges | Occurs when a transaction (a database level transaction in an explicit unit of work) is about to be started to track changes made to persistent objects. |
| BeforeBeginTransaction | Occurs when a transaction is about to be started via the BEGIN operation. |
| BeforeCommitNestedUnitOfWork | Fires before the nested unit of work is committed. |
| BeforeCommitTransaction | Occurs when a transaction is about to be completed via the COMMIT operation. |
| BeforeConnect | Occurs before the connection to a database is established. |
| BeforeDisconnect | Occurs before the connection to a database is detached. |
| BeforeDropChanges | Occurs when a list of tracked changes is about to be cleared. |
| BeforeFlushChanges | Occurs when tracked changes are about to be temporarily saved to a data store. |
| BeforePreProcessCommitedList | Fires after the Session.CommitTransaction method has been called. |
| BeforeRollbackTransaction | Occurs when a transaction is about to be completed via the ROLLBACK operation. |
| BeforeSave | Obsolete. Occurs before a persistent object is saved in storage. |
| Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
| FailedCommitTransaction | Occurs when the Commit Transaction operation fails due to database constraints or other circumstances. |
| FailedFlushChanges | Occurs when the Flush Changes operation fails due to database constraints or other circumstances. |
| ObjectChanged | Occurs after an object’s property has been changed. |
| ObjectDeleted | Occurs after an object has been deleted. |
| ObjectDeleting | Occurs when an object is about to be deleted. |
| ObjectLoaded | Occurs after an object’s properties have been initialized with values from a data store. |
| ObjectLoading | Occurs when an object’s properties are about to be initialized with values from a data store. |
| ObjectSaved | Occurs after an object has been saved to a data store. |
| ObjectSaving | Occurs when an object is about to be saved to a data store. |
| ObjectsLoaded | Occurs after persistent objects have been initialized with values from a data store. |
| ObjectsSaved | Occurs after persistent objects have been saved to a data store. |
See Also