UnitOfWork Events
Maintains a list of persistent objects that are affected by a transaction. Keeps track of every change to every persistent object during a transaction that can affect a data store.
Name | Description |
---|---|
After |
Occurs after a transaction (a database level transaction in an explicit unit of work) has been started tracking changes made to persistent objects. Inherited from Session. |
After |
Occurs after a transaction has been started via the BEGIN operation. Inherited from Session. |
After |
Fires after the nested unit of work has been committed. Inherited from Session. |
After |
Occurs after a transaction has been completed via the COMMIT operation. Inherited from Session. |
After |
Occurs after a connection to a database has been established. Inherited from Session. |
After |
Occurs when a connection to a database is closed. Inherited from Session. |
After |
Occurs after a list of tracked changes has been cleared. Inherited from Session. |
After |
Occurs after tracked changes have been temporarily saved to a data store. Inherited from Session. |
After |
Occurs after a transaction has been completed via the ROLLBACK operation. Inherited from Session. |
Before |
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. Inherited from Session. |
Before |
Occurs when a transaction is about to be started via the BEGIN operation. Inherited from Session. |
Before |
Fires before the nested unit of work is committed. Inherited from Session. |
Before |
Occurs when a transaction is about to be completed via the COMMIT operation. Inherited from Session. |
Before |
Occurs before the connection to a database is established. Inherited from Session. |
Before |
Occurs before the connection to a database is detached. Inherited from Session. |
Before |
Occurs when a list of tracked changes is about to be cleared. Inherited from Session. |
Before |
Occurs when tracked changes are about to be temporarily saved to a data store. Inherited from Session. |
Before |
Fires after the Session. |
Before |
Occurs when a transaction is about to be completed via the ROLLBACK operation. Inherited from Session. |
Before |
Obsolete. Occurs before a persistent object is saved in storage. Inherited from Session. |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
Failed |
Occurs when the Commit Transaction operation fails due to database constraints or other circumstances. Inherited from Session. |
Failed |
Occurs when the Flush Changes operation fails due to database constraints or other circumstances. Inherited from Session. |
Object |
Occurs after an object’s property has been changed. Inherited from Session. |
Object |
Occurs after an object has been deleted. Inherited from Session. |
Object |
Occurs when an object is about to be deleted. Inherited from Session. |
Object |
Occurs after an object’s properties have been initialized with values from a data store. Inherited from Session. |
Object |
Occurs when an object’s properties are about to be initialized with values from a data store. Inherited from Session. |
Object |
Occurs after an object has been saved to a data store. Inherited from Session. |
Object |
Occurs when an object is about to be saved to a data store. Inherited from Session. |
Objects |
Occurs after persistent objects have been initialized with values from a data store. Inherited from Session. |
Objects |
Occurs after persistent objects have been saved to a data store. Inherited from Session. |
See Also