[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Collapse]eXpress Persistent Objects
 [Expand]Product Information
 [Expand]Getting Started
 [Expand]Fundamentals
 [Expand]Feature Center
 [Expand]Concepts
 [Expand]Design-Time Features
 [Expand]Examples
 [Expand]Member Tables
 [Collapse]API Reference
  [Collapse]DevExpress.Xpo
   [Expand]AggregatedAttribute Class
   [Expand]AssociationAttribute Class
    AsyncBehavior Enumeration
    AsyncCommitCallback Delegate
    AsyncSelectDataCallback Delegate
    CacheBehavior Enumeration
    CollectionBindingBehavior Enumeration
   [Expand]ColumnDbDefaultValueAttribute Class
   [Expand]ColumnDefaultValueAttribute Class
   [Expand]CommitObjectStubsResult Class
   [Expand]CustomAttribute Class
   [Expand]CustomCriteriaManager Class
   [Expand]DataViewPropertiesCollection Class
   [Expand]DataViewProperty Class
   [Expand]DataViewRecord Class
   [Expand]DbTypeAttribute Class
    DefaultMembersPersistence Enumeration
   [Expand]DefaultMembersPersistenceAttribute Class
   [Expand]DeferredDeletionAttribute Class
   [Expand]DelayedAttribute Class
   [Expand]DisplayNameAttribute Class
   [Expand]ExplicitLoadingAttribute Class
   [Expand]ExplicitUnitOfWork Class
   [Expand]FetchOnlyAttribute Class
   [Expand]GetObjectStubsByKeyQuery Class
    GuidGenerationMode Enumeration
   [Expand]HiddenAttribute Class
   [Expand]ICustomCriteriaOperatorQueryable Interface
   [Expand]ICustomFunctionOperatorQueryable Interface
   [Expand]IDataLayer Interface
   [Expand]IDataLayerAsync Interface
    IdentityMapBehavior Enumeration
   [Expand]IndexedAttribute Class
   [Expand]IndicesAttribute Class
   [Expand]IObjectLayer Interface
   [Expand]IObjectLayerAsync Interface
   [Expand]IObjectLayerEx Interface
   [Expand]IObjectLayerOnSession Interface
   [Expand]ISerializableObjectLayer Interface
   [Expand]ISerializableObjectLayerEx Interface
   [Expand]IXPModificationsStore Interface
   [Expand]IXPObject Interface
   [Expand]IXPSimpleObject Interface
   [Expand]KeyAttribute Class
   [Expand]LoadDataMemberOrderItem Structure
    LockingOption Enumeration
   [Expand]MapInheritanceAttribute Class
    MapInheritanceType Enumeration
   [Expand]MapToAttribute Class
   [Expand]MemberDesignTimeVisibilityAttribute Class
   [Expand]MergeCollisionBehaviorAttribute Class
   [Expand]NestedUnitOfWork Class
   [Expand]NoForeignKeyAttribute Class
   [Expand]NonPersistentAttribute Class
   [Expand]NullableAttribute Class
    NullableBehavior Enumeration
   [Expand]NullableBehaviorAttribute Class
   [Expand]NullValueAttribute Class
   [Expand]ObjectChangeEventArgs Class
    ObjectChangeEventHandler Delegate
    ObjectChangeReason Enumeration
   [Expand]ObjectManipulationEventArgs Class
    ObjectManipulationEventHandler Delegate
   [Expand]ObjectsByKeyQuery Class
   [Expand]ObjectsManipulationEventArgs Class
    ObjectsManipulationEventHandler Delegate
   [Expand]ObjectsQuery Class
   [Expand]ObjectStubsQuery Class
   [Expand]OptimisticLockingAttribute Class
    OptimisticLockingBehavior Enumeration
   [Expand]OptimisticLockingIgnoredAttribute Class
    OptimisticLockingReadBehavior Enumeration
   [Expand]OptimisticLockingReadBehaviorAttribute Class
    OptimisticLockingReadMergeBehavior Enumeration
   [Expand]PersistentAliasAttribute Class
   [Expand]PersistentAttribute Class
   [Expand]PersistentBase Class
    PersistentCriteriaEvaluationBehavior Enumeration
   [Expand]ResolveSessionEventArgs Class
    ResolveSessionEventHandler Delegate
   [Expand]SchemaInitEventArgs Class
    SchemaInitEventHandler Delegate
   [Expand]SerializableObjectLayer Class
   [Expand]SerializableObjectLayerClient Class
    ServerExceptionThrownAction Enumeration
   [Expand]ServerExceptionThrownEventArgs Class
    ServerExceptionThrownEventHandler Delegate
   [Expand]ServerViewPropertiesCollection Class
   [Expand]ServerViewProperty Class
   [Collapse]Session Class
     Session Members
    [Expand]Session Constructor
    [Expand]Session Properties
    [Collapse]Session Events
      AfterBeginTrackingChanges Event
      AfterBeginTransaction Event
      AfterCommitNestedUnitOfWork Event
      AfterCommitTransaction Event
      AfterConnect Event
      AfterDisconnect Event
      AfterDropChanges Event
      AfterFlushChanges Event
      AfterRollbackTransaction Event
      BeforeBeginTrackingChanges Event
      BeforeBeginTransaction Event
      BeforeCommitNestedUnitOfWork Event
      BeforeCommitTransaction Event
      BeforeConnect Event
      BeforeDisconnect Event
      BeforeDropChanges Event
      BeforeFlushChanges Event
      BeforePreProcessCommitedList Event
      BeforeRollbackTransaction Event
      BeforeSave Event
      FailedCommitTransaction Event
      FailedFlushChanges Event
      ObjectChanged Event
      ObjectDeleted Event
      ObjectDeleting Event
      ObjectLoaded Event
      ObjectLoading Event
      ObjectSaved Event
      ObjectSaving Event
      ObjectsLoaded Event
      ObjectsSaved Event
      SchemaInit Event
    [Expand]Session Methods
   [Expand]SessionManipulationEventArgs Class
    SessionManipulationEventHandler Delegate
   [Expand]SessionObjectLayer Class
   [Expand]SessionOperationFailEventArgs Class
    SessionOperationFailEventHandler Delegate
   [Expand]SimpleDataLayer Class
   [Expand]SimpleObjectLayer Class
   [Expand]SizeAttribute Class
   [Expand]SkipCheckForFeedsAttribute Class
    SortDirection Enumeration
   [Expand]SortingCollection Class
   [Expand]StreamAttribute Class
   [Expand]ThreadSafeDataLayer Class
   [Expand]UnitOfWork Class
   [Expand]ValueConverterAttribute Class
   [Expand]ViewPropertiesCollection Class
   [Expand]ViewProperty Class
   [Expand]ViewRecord Class
   [Expand]VisibleAttribute Class
   [Expand]XPBaseCollection Class
   [Expand]XPBaseObject Class
   [Expand]XPBindingSource Class
   [Expand]XPClassInfoStub Class
   [Expand]XPCollection Class
   [Expand]XPCollection<T> Class
   [Expand]XPCollectionChangedEventArgs Class
    XPCollectionChangedEventHandler Delegate
    XPCollectionChangedType Enumeration
   [Expand]XPCursor Class
   [Expand]XPCustomObject Class
   [Expand]XPDataObject Class
   [Expand]XPDataView Class
   [Expand]XPDelayedProperty Class
   [Expand]XPDictionaryStub Class
   [Expand]XPInstantFeedbackSource Class
   [Expand]XPInstantFeedbackView Class
   [Expand]XPLiteObject Class
   [Expand]XPObject Class
   [Expand]XPObjectSource Class
   [Expand]XPObjectSourcePropertiesCollection Class
   [Expand]XPObjectSourceProperty Class
   [Expand]XPObjectSourceRecord Class
   [Expand]XPObjectStub Class
   [Expand]XPObjectStubCollection Class
   [Expand]XPObjectType Class
   [Expand]XpoDataSource Class
   [Expand]XpoDataSourceInsertedEventArgs Class
    XpoDataSourceInsertedEventHandler Delegate
   [Expand]XpoDefault Class
   [Expand]XPPageSelector Class
   [Expand]XPQuery<T> Class
   [Expand]XPQueryBase Class
   [Expand]XPQueryExtensions Class
   [Expand]XPServerCollectionSource Class
   [Expand]XPServerModeView Class
   [Expand]XPView Class
   [Expand]XPWeakReference Class
  [Expand]DevExpress.Xpo.DB
  [Expand]DevExpress.Xpo.DB.Helpers
  [Expand]DevExpress.Xpo.Exceptions
  [Expand]DevExpress.Xpo.Helpers
  [Expand]DevExpress.Xpo.Metadata
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Session Events

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

Expanded Public Events

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

Expanded See Also

Is this topic helpful?​​​​​​​