[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
    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
    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
   [Collapse]Session Class
     Session Members
    [Expand]Session Constructor
    [Expand]Session Properties
    [Expand]Session Events
    [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]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]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]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 Members

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

Expanded Public Constructors

Show: Inherited
  Name Description
Public method Session Overloaded. Initializes a new Session instance using the specified metadata provider.
Top

Expanded Public Properties

Show: Inherited
  Name Description
Public property AutoCreateOption Gets or sets the action which is performed when the session is connected to a data store.
Public property CacheBehavior Obsolete. Gets or sets the session's cache behavior.
Public property CaseSensitive Gets or sets whether string comparisons evaluated by the session on the client are case-sensitive.
Public property Connection Gets or sets an System.Data.IDbConnection object associated with the session.
Public property ConnectionString Gets or sets the string which is used to open a database.
Public property Container Gets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public property DataLayer Gets the Data Access Layer used by the current session to access a data store.
Public propertyStatic member DefaultSession Gets the pre-initialized default session for simple applications.
Public property Dictionary Gets metadata on persistent objects in a data store.
Public property IdentityMapBehavior Gets or sets the session's Identity Map behavior.
Public property InTransaction Indicates whether a transaction is in progress.
Public propertyStatic member InTransactionMode Enables the mode in which querying a data store for objects includes all in-memory changes into query results.
Public property IsConnected Gets whether the session is connected to a database.
Public property IsObjectModifiedOnNonPersistentPropertyChange Specifies whether or not a persistent object is marked modified when its non-persistent property value is changed.
Public property IsObjectsLoading Indicates whether persistent objects are being loaded from a data store.
Public property IsObjectsSaving Indicates whether persistent objects are being saved to a data store.
Public property LockingOption Gets or sets a value which controls the persistent object's locking during a session.
Public property ObjectLayer Provides access to an Object Access Layer, which the current session uses to retrieve and update object data in a data store.
Public property ObjectsSavedInCurrentTransaction Obsolete. Gets the collection of IXPSimpleObject objects that are saved in the transaction currently in progress.
Public property OptimisticLockingReadBehavior Gets or sets a value which specifies how XPO behaves when reloading changed objects (objects with different versions).
Public property Site Gets or sets the System.ComponentModel.ISite of the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public propertyStatic member SuppressThrowingAssociationCollectionWithDisabledLoading Obsolete. Specifies whether exceptions are thrown when committing changes in a collection whose XPBaseCollection.LoadingEnabled property is set to false.
Public property TrackingChanges Indicates whether changes made to persistent objects are being tracked or a list of tracked changes is not empty.
Public property TrackPropertiesModifications Specifies whether or not the current Session tracks persistent object property modifications.
Public property TypesManager This member supports the XPO Framework infrastructure and is not intended to be used directly from your code.
Top

Expanded Public Methods

Show: Inherited
  Name Description
Public method BeginNestedUnitOfWork Creates a new nested unit of work.
Public method BeginTrackingChanges Enables tracking changes made to persistent objects.
Public method BeginTransaction Starts a transaction.
Public method BulkLoad Overloaded. This method loads XPBaseCollection objects passed as parameters.
Public method BulkLoadAsync Overloaded. Asynchronously retrieves persistent objects to populate specified XPBaseCollection type collections.
Public methodStatic member CancelAsyncRequest This method is intended for internal use.
Public method ClearDatabase This member supports the internal infrastructure and is not intended to be used directly from your code.
Public method CollectReferencingObjects Overloaded. Returns a collection of persistent objects that refer to the specified object.
Public method CommitTransaction Commits changes made within a transaction and completes it.
Public method CommitTransactionAsync Overloaded. Asynchronously commits object changes made within a transaction, completes the transaction, and notifies upon completion.
Public method Connect Overloaded. Connects the session to a data store using a specified Data Access Layer.
Public method CreateObjectTypeRecords Overloaded. Stores valid persistent types for the specified class types.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public method Delete Overloaded. Deletes the specified persistent objects and their aggregated objects from the data store.
Public method Disconnect Disconnects the session from a database.
Public method Dispose Releases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public method DropCache Obsolete. Clears the object cache.
Public method DropChanges Discards changes made to persistent objects and clears a list of tracked changes.
Public method DropIdentityMap Clears the Identity Map.
Public method Equals Determines whether the specified System.Object is equal to the current System.Object. (Inherited from System.Object)
Public methodStatic member Equals Determines whether the specified System.Object instances are considered equal. (Inherited from System.Object)
Public method Evaluate Overloaded. Evaluates the specified expression for objects of the specified type.
Public method Evaluate<ClassType> Evaluates the specified expression for objects of the type designated by the specified generic type parameter.
Public method EvaluateAsync Overloaded. Asynchronously evaluates the specified expression against objects of the specified type.
Public method EvaluateInTransaction Overloaded. Evaluates the specified expression against objects of the specified type. Accounts for all in-memory object changes.
Public method EvaluateInTransaction<ClassType> Evaluates the specified expression against objects whose type is designated by the generic parameter. Accounts for all in-memory object changes.
Public method EvaluateInTransactionAsync Overloaded. Asynchronously evaluates the specified expression against objects of the specified type. Accounts for all in-memory object changes.
Public method EvaluateInTransactionAsync<ClassType> Asynchronously evaluates the specified expression against objects whose type is designated by the generic parameter. Accounts for all in-memory object changes.
Public method ExecuteNonQuery Overloaded. Executes the specified SQL statement and returns the number of rows affected.
Public method ExecuteQuery Overloaded. Executes the specified SQL query and returns a result set.
Public method ExecuteQueryWithMetadata Overloaded. Executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
Public method ExecuteScalar Overloaded. Executes the specified SQL query and returns the first column of the first row in the result set returned by the query.
Public method ExecuteSproc Executes the specified stored procedure and returns its result set.
Public method ExecuteSprocParametrized Executes the specified stored procedure with the named parameters and returns its result set.
Public method ExplicitBeginTransaction Overloaded. Marks the starting point of an explicit transaction that is started with the specified System.Data.IsolationLevel value.
Public method ExplicitCommitTransaction Completes an explicit transaction and commits changes made within it.
Public method ExplicitCommitTransactionAsync Asynchronously completes an explicit transaction and commits changes made within the transaction.
Public method ExplicitRollbackTransaction Completes an explicit transaction and rolls back changes made within it.
Public method FindObject Overloaded. Searches for the first object which matches the specified criteria.
Public method FindObject<ClassType> Overloaded. Searches for the first object of the type designated by the specified generic type parameter which matches the specified criteria.
Public method FindObjectAsync Overloaded. Asynchronously searches for the first object that matches the specified criteria.
Public method FindObjectAsync<ClassType> Overloaded. Asynchronously searches for the first object which matches the specified criteria and has the type designated by the generic type parameter, and notifies upon completion.
Public method FlushChanges Saves changes made to persistent objects to a data store, and clears a list of tracked changes.
Public method FlushChangesAsync Overloaded. Asynchronously saves changes made to persistent objects to a data store, clears a list of tracked changes and notifies upon completion.
Public method GetCacheBehavior Obsolete. This member supports the .NET Framework infrastructure and cannot be used directly from your code.
Public method GetClassInfo Overloaded. Returns the XPClassInfo for the specified persistent object.
Public method GetClassInfo<ClassType> Returns the XPClassInfo for the type designated by the specified generic type parameter.
Public method GetHashCode Serves as a hash function for a particular type. System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from System.Object)
Public method GetIdentityMapBehavior This method is intended for internal use only.
Public method GetKeyValue Returns the key property's value of the specified persistent object.
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public method GetLoadedObjectByKey Overloaded. Returns the persistent object with the specified value of the key property that has been already loaded from a data store.
Public method GetLoadedObjectByKey<ClassType> Returns the persistent object of the type designated by the specified generic type parameter, with the specified value of the key property previously loaded from a data store.
Public method GetObjectByKey Overloaded. Returns the reloaded persistent object with the specified value of the key property from a data store.
Public method GetObjectByKey<ClassType> Overloaded. Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property.
Public method GetObjectByKeyAsync Overloaded. Asynchronously returns a persistent object that has the specified key property value.
Public method GetObjectByKeyAsync<ClassType> Overloaded. Asynchronously returns a persistent object that has the specified key property value. The persistent object's type is set by the generic type parameter.
Public method GetObjects Overloaded. This GetObjects method overload is obsolete. Use the method overloads that do not take a CollectionCriteriaPatcher collectionCriteriaPatcher parameter.
Public method GetObjectsAsync Overloaded. Asynchronously gets a collection of persistent objects that match the specified criteria and notifies upon completion.
Public method GetObjectsByKey Overloaded. Returns reloaded persistent objects with specified key property values from a data store.
Public method GetObjectsByKeyAsync Overloaded. Asynchronously returns reloaded persistent objects that have specified key property values from a data store.
Public method GetObjectsByKeyFromQuery Returns reloaded persistent objects from a data store, with key property values obtained via the specified SQL query.
Public method GetObjectsByKeyFromSproc Returns reloaded persistent objects from a data store, with key property values obtained via the specified stored procedure.
Public method GetObjectsByKeyFromSprocParametrized
Public method GetObjectsFromQuery Overloaded. Executes a SQL query and returns its result set as a collection of non-persistent objects.
Public method GetObjectsFromQuery<T> Overloaded. Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
Public method GetObjectsFromSproc Overloaded. Executes a stored procedure and returns its result set as a collection of non-persistent objects.
Public method GetObjectsFromSproc<T> Overloaded. Executes a stored procedure and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
Public method GetObjectsFromSprocParametrized Overloaded. Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects.
Public method GetObjectsFromSprocParametrized<T> Overloaded. Executes a stored procedure with named parameters and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
Public method GetObjectsInTransaction Overloaded. This GetObjectsInTransaction method overload is obsolete. Use the overloads that do not take a Boolean caseSensitive parameter.
Public method GetObjectsInTransactionAsync Overloaded. This member supports the internal infrastructure and is not intended to be used directly from your code.
Public method GetObjectsToDelete Overloaded. Returns a collection of persistent objects that will be deleted when the current transaction is committed.
Public method GetObjectsToSave Overloaded. Returns a collection of persistent objects that will be saved when the current transaction is committed, including objects that will be saved in the parent transaction(s), optionally.
Public method GetObjectType Overloaded. This member supports the internal infrastructure and is not intended to be used directly from your code.
Public method GetProperties Gets the properties of the class whose metadata is provided by the specified XPClassInfo object.
Public method GetType Gets the System.Type of the current instance. (Inherited from System.Object)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public method IsNewObject Overloaded. Indicates whether the specified object is contained within the session's cache.
Public method IsObjectMarkedDeleted Indicates whether the specified persistent object is marked as deleted.
Public method IsObjectToDelete Overloaded. Indicates whether the specified object is deleted in the transaction currently in progress or in any of its parent transaction (optionally).
Public method IsObjectToSave Overloaded. Indicates whether the specified object is saved in the transaction currently in progress or in any of its parent transaction (optionally).
Public method Load Overloaded. This method is obsolete. Use BulkLoad instead.
Public method Load<T> Obsolete. This method is obsolete. Use PreFetch or DevExpress.Xpo.Session.PreFetch``1 instead.
Public method PreFetch Overloaded. Enforces loading data for associated collections and delayed properties.
Public method PreFetch<T> Overloaded. Enforces loading data for associated collections and delayed properties.
Public method PreFetchAsync Overloaded. Asynchronously forces associated collection data loading for specified parent objects.
Public method PreFetchAsync<T> Asynchronously forces associated collection data loading for specified parent objects.
Public method ProcessReferences Returns a list objects that were processed within the specified event handler.
Public method PurgeDeletedObjects Overloaded. Deletes the objects marked as deleted from storage.
Public methodStatic member PurgeDeletedObjects Overloaded. Deletes the objects marked as deleted from a storage.
Public methodStatic member ReferenceEquals Determines whether the specified System.Object instances are the same instance. (Inherited from System.Object)
Public method Reload Overloaded. Reloads the state of the specified persistent object from the data store.
Public method ReloadAsync Overloaded. Recursively reloads a persistent object's state and aggregated objects from the data store, asynchronously.
Public method RemoveFromDeleteList This member supports the .NET Framework infrastructure and cannot be used directly from your code.
Public method RemoveFromLists This member supports the .NET Framework infrastructure and cannot be used directly from your code..
Public method RemoveFromSaveList This member supports the .NET Framework infrastructure and cannot be used directly from your code.
Public method RollbackTransaction Rolls back a transaction to its starting point, and completes it.
Public method Save Overloaded. Saves the specified persistent objects to a data store.
Public method SelectData Overloaded. Retrieves objects from a session using the specified query parameters.
Public method SelectDataAsync Overloaded. Retrieves object data from a session asynchronously, according to specified query parameters.
Public method SelectDataInTransaction Retrieves objects from a session using the specified query parameters, including all in-memory changes into query results.
Public method SelectDataInTransactionAsync Asynchronously retrieves objects from a session, according to specified query parameters. Accounts for all in-memory object changes.
Public methodStatic member SetAsyncRequestPriority This method is intended for internal use.
Public method SetKeyValue Assigns the key property's value of the specified persistent object.
Public method ToString Returns a string that represents the current session.
Public method TriggerObjectChanged This member supports the internal infrastructure and is not intended to be used directly from your code.
Public method UpdateSchema Overloaded. Updates the storage schema according to the class descriptions that are listed in the specified assemblies.
Public methodStatic member WaitForAsyncRequestComplete This method is intended for internal use.
Top

Expanded Public Fields

Show: Inherited
  Name Description
Public fieldStatic member GlobalSuppressExceptionOnReferredObjectAbsentInDataStore This member supports the .NET Framework infrastructure and cannot be used directly from your code.
Public fieldStatic member LogCategory The name of a category used to tag Session and Unit of Work operations in XPO logs. The default category name is "Session".
Public fieldStatic member LogParam_AlwaysGetFromDataStore Contains the name of the log parameter that specifies whether to always reload objects from a data store even if they are found in memory.
Public fieldStatic member LogParam_ClassInfo Contains the name of the log parameter that specifies the full name of a persistent class.
Public fieldStatic member LogParam_Condition Contains the name of the log parameter that specifies the criteria for retrieving objects not yet persisted to the datastore.
Public fieldStatic member LogParam_Criteria Contains the name of the log parameter that specifies the object to be retrieved from the storage.
Public fieldStatic member LogParam_CriteriaEvaluationBehavior Contains the name of the log parameter that specifies how filter criteria are evaluated within a transaction.
Public fieldStatic member LogParam_Expression Contains the name of the log parameter that specifies an expression to be evaluated.
Public fieldStatic member LogParam_GroupCriteria Contains the name of the log parameter that specifies the grouping criteria for the retrieved persistent objects.
Public fieldStatic member LogParam_GroupProps Contains the name of the log parameter that specifies grouping properties.
Public fieldStatic member LogParam_InTransaction Contains the name of the log parameter that specifies whether in memory object changes are taken into account when evaluating an expression.
Public fieldStatic member LogParam_IsInTransactionMode Contains the name of the log parameter that specifies whether querying a data store for objects includes all in-memory changes into query results.
Public fieldStatic member LogParam_Members Contains the name of the log parameter that specifies mapping information for persistent class metadata and a stored procedure's result set columns.
Public fieldStatic member LogParam_ObjectID Contains the name of the log parameter that specifies an object identifier.
Public fieldStatic member LogParam_Objects Contains the name of the log parameter that specifies persistent objects.
Public fieldStatic member LogParam_Parameters Contains the name of the log parameter that specifies SQL query parameters.
Public fieldStatic member LogParam_Property Contains the name of the log parameter that specifies a persistent object's property.
Public fieldStatic member LogParam_Props Contains the name of the log parameter that specifies properties of a persistent object.
Public fieldStatic member LogParam_SelectDeleted Contains the name of the log parameter that specifies whether persistent objects marked as deleted must be retrieved.
Public fieldStatic member LogParam_SessionID Contains the name of the log parameter that specifies a session identifier.
Public fieldStatic member LogParam_SessionType Contains the name of the log parameter that specifies a session type.
Public fieldStatic member LogParam_SkipSelectedRecords Contains the name of the log parameter that specifies the number of persistent objects to skip.
Public fieldStatic member LogParam_Sorting Contains the name of the log parameter that specifies the sort order for retrieved persistent objects.
Public fieldStatic member LogParam_SprocName Contains the name of the log parameter that specifies the name of a stored procedure.
Public fieldStatic member LogParam_Sql Contains the name of the log parameter that specifies a SQL query.
Public fieldStatic member LogParam_TheObject Contains the name of the log parameter that specifies a persistent object.
Public fieldStatic member LogParam_TopSelectedRecords Contains the name of the log parameter that specifies the maximum number of persistent objects to retrieve.
Top

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?​​​​​​​