Back to Devexpress

NestedUnitOfWork Events

xpo-devexpress-dot-xpo-dot-nestedunitofwork-dot-underscore-events.md

latest7.1 KB
Original Source

NestedUnitOfWork Events

A nested unit of work.

NameDescription
AfterBeginTrackingChangesOccurs 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.
AfterBeginTransactionOccurs after a transaction has been started via the BEGIN operation. Inherited from Session.
AfterCommitNestedUnitOfWorkFires after the nested unit of work has been committed. Inherited from Session.
AfterCommitTransactionOccurs after a transaction has been completed via the COMMIT operation. Inherited from Session.
AfterConnectOccurs after a connection to a database has been established. Inherited from Session.
AfterDisconnectOccurs when a connection to a database is closed. Inherited from Session.
AfterDropChangesOccurs after a list of tracked changes has been cleared. Inherited from Session.
AfterFlushChangesOccurs after tracked changes have been temporarily saved to a data store. Inherited from Session.
AfterRollbackTransactionOccurs after a transaction has been completed via the ROLLBACK operation. Inherited from Session.
BeforeBeginTrackingChangesOccurs 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.
BeforeBeginTransactionOccurs when a transaction is about to be started via the BEGIN operation. Inherited from Session.
BeforeCommitNestedUnitOfWorkFires before the nested unit of work is committed. Inherited from Session.
BeforeCommitTransactionOccurs when a transaction is about to be completed via the COMMIT operation. Inherited from Session.
BeforeConnectOccurs before the connection to a database is established. Inherited from Session.
BeforeDisconnectOccurs before the connection to a database is detached. Inherited from Session.
BeforeDropChangesOccurs when a list of tracked changes is about to be cleared. Inherited from Session.
BeforeFlushChangesOccurs when tracked changes are about to be temporarily saved to a data store. Inherited from Session.
BeforePreProcessCommitedListFires after the Session.CommitTransaction method has been called. Inherited from Session.
BeforeRollbackTransactionOccurs when a transaction is about to be completed via the ROLLBACK operation. Inherited from Session.
BeforeSaveObsolete. Occurs before a persistent object is saved in storage. Inherited from Session.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
FailedCommitTransactionOccurs when the Commit Transaction operation fails due to database constraints or other circumstances. Inherited from Session.
FailedFlushChangesOccurs when the Flush Changes operation fails due to database constraints or other circumstances. Inherited from Session.
ObjectChangedOccurs after an object’s property has been changed. Inherited from Session.
ObjectDeletedOccurs after an object has been deleted. Inherited from Session.
ObjectDeletingOccurs when an object is about to be deleted. Inherited from Session.
ObjectLoadedOccurs after an object’s properties have been initialized with values from a data store. Inherited from Session.
ObjectLoadingOccurs when an object’s properties are about to be initialized with values from a data store. Inherited from Session.
ObjectSavedOccurs after an object has been saved to a data store. Inherited from Session.
ObjectSavingOccurs when an object is about to be saved to a data store. Inherited from Session.
ObjectsLoadedOccurs after persistent objects have been initialized with values from a data store. Inherited from Session.
ObjectsSavedOccurs after persistent objects have been saved to a data store. Inherited from Session.

See Also

NestedUnitOfWork Class

NestedUnitOfWork Members

DevExpress.Xpo Namespace