Back to Devexpress

Session Events

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

latest5.5 KB
Original Source

Session Events

The session that is used to load and save persistent objects.

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

See Also

Session Class

Session Members

DevExpress.Xpo Namespace