Skip to main content
.NET Framework 4.5.2+

UnitOfWork Members

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.

Constructors

Name Description
UnitOfWork() Initializes a new instance of the UnitOfWork class with default settings.
UnitOfWork(IDataLayer, IDisposable[]) Initializes a new instance of the UnitOfWork class with the specified settings.
UnitOfWork(IObjectLayer, IDisposable[]) Initializes a new instance of the UnitOfWork class with specified settings.
UnitOfWork(XPDictionary) Initializes a new instance of the UnitOfWork class with the specified dictionary.
UnitOfWork(IContainer) Initializes a new instance of the UnitOfWork class and adds it to a form’s container.
UnitOfWork(IServiceProvider, IDataLayer, IDisposable[]) Initializes a new instance of the UnitOfWork class with specified settings.
UnitOfWork(IServiceProvider, IObjectLayer, IDisposable[]) Initializes a new instance of the UnitOfWork class with specified settings.
UnitOfWork(IServiceProvider, XPDictionary) Initializes a new instance of the UnitOfWork class with specified settings.
UnitOfWork(IServiceProvider, IContainer) Initializes a new instance of the UnitOfWork class with specified settings.
UnitOfWork(IServiceProvider) Initializes a new instance of the UnitOfWork class with specified settings.

Fields

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

Properties

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

Methods

Name Description
BeginNestedUnitOfWork() Creates a new NestedUnitOfWork. Inherited from Session.
BeginTrackingChanges() Enables tracking changes made to persistent objects. Inherited from Session.
BeginTransaction() Starts a transaction. Inherited from Session.
BulkLoad(IXPBulkLoadableCollection[]) This method loads IXPBulkLoadableCollection objects passed as parameters. Inherited from Session.
BulkLoad(XPBaseCollection[]) This method loads XPBaseCollection objects passed as parameters. Inherited from Session.
BulkLoadAsync(CancellationToken, IXPBulkLoadableCollection[]) Asynchronously retrieves persistent objects to populate specified IXPBulkLoadableCollection type collections. Inherited from Session.
BulkLoadAsync(CancellationToken, XPBaseCollection[]) Asynchronously retrieves persistent objects to populate specified XPBaseCollection type collections. Inherited from Session.
CancelAsyncRequest(Object) static This method is intended for internal use. Inherited from Session.
ClearDatabase() This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
CollectReferencingObjects(Object, PersistentCriteriaEvaluationBehavior, Boolean) Returns a collection of persistent objects that refer to the specified object. Inherited from Session.
CollectReferencingObjects(Object) Returns a collection of persistent objects that refer to the specified object. Inherited from Session.
CommitChanges() Commits all the changes made to persistent objects to a data store.
CommitChangesAsync(AsyncCommitCallback) Asynchronously commits all the changes made to persistent objects to a data store and notifies upon completion.
CommitChangesAsync(CancellationToken) Asynchronously commits object changes made in a specified session and notifies upon completion.
CommitTransaction() Commits changes made within a transaction and completes it. Inherited from Session.
CommitTransactionAsync(AsyncCommitCallback) Asynchronously commits changes made within a transaction, completes it and notifies upon completion. Inherited from Session.
CommitTransactionAsync(CancellationToken) Asynchronously commits object changes made within a transaction, completes the transaction, and notifies upon completion. Inherited from Session.
Connect() Connects the session to a data store. Inherited from Session.
Connect(IDataLayer, IDisposable[]) Connects the session to a data store using a specified data access layer. Inherited from Session.
Connect(IObjectLayer, IDisposable[]) Connects the session to a data store using a specified object access layer. Inherited from Session.
CreateObjectTypeRecords() Stores valid persistent types for all the types which are defined within the assemblies that have been loaded in the current application domain. Inherited from Session.
CreateObjectTypeRecords(XPClassInfo[]) Stores valid persistent types for the specified persistent class metadata information. Inherited from Session.
CreateObjectTypeRecords(Boolean, XPClassInfo[]) Stores valid persistent types for the specified persistent class metadata information. Inherited from Session.
CreateObjectTypeRecords(Boolean, Assembly[]) Stores valid persistent types for all the types which are defined within the specified assemblies. Inherited from Session.
CreateObjectTypeRecords(Boolean, Type[]) Stores valid persistent types for the specified class types. Inherited from Session.
CreateObjectTypeRecords(Boolean) Stores valid persistent types for all the types which are defined within the assemblies that have been loaded in the current application domain. Inherited from Session.
CreateObjectTypeRecords(Assembly[]) Stores valid persistent types for all the types which are defined within the specified assemblies. Inherited from Session.
CreateObjectTypeRecords(Type[]) Stores valid persistent types for the specified class types. Inherited from Session.
CreateObjectTypeRecordsAsync(Boolean, CancellationToken) Asynchronously stores valid persistent types for all the types which are defined within the assemblies that have been loaded in the current application domain. Inherited from Session.
CreateObjectTypeRecordsAsync(CancellationToken, XPClassInfo[]) Asynchronously stores valid persistent types for the specified persistent class metadata information. Inherited from Session.
CreateObjectTypeRecordsAsync(CancellationToken, Boolean, XPClassInfo[]) Asynchronously stores valid persistent types for the specified persistent class metadata information. Inherited from Session.
CreateObjectTypeRecordsAsync(CancellationToken, Boolean, Assembly[]) Asynchronously stores valid persistent types for all the types which are defined within the specified assemblies. Inherited from Session.
CreateObjectTypeRecordsAsync(CancellationToken, Boolean, Type[]) Asynchronously stores valid persistent types for the specified class types. Inherited from Session.
CreateObjectTypeRecordsAsync(CancellationToken, Assembly[]) Asynchronously stores valid persistent types for all the types which are defined within the specified assemblies. Inherited from Session.
CreateObjectTypeRecordsAsync(CancellationToken, Type[]) Asynchronously stores valid persistent types for the specified class types. Inherited from Session.
CreateObjectTypeRecordsAsync(CancellationToken) Asynchronously stores valid persistent types for all the types which are defined within the assemblies that have been loaded in the current application domain. Inherited from Session.
Delete(ICollection) Deletes persistent objects and their aggregated objects from the data store. Inherited from Session.
Delete(Object) Deletes the specified persistent object and its aggregated objects from persistent storage. Inherited from Session.
DeleteAsync(ICollection, CancellationToken) Asynchronously deletes the specified persistent objects and their aggregated objects from the data store. Inherited from Session.
DeleteAsync(Object, CancellationToken) Asynchronously deletes the specified persistent object and its aggregated objects from persistent storage. Inherited from Session.
Disconnect() Disconnects the session from a database. Inherited from Session.
Dispose() Releases all resources used by the Component. Inherited from Component.
DropCache() Obsolete. Clears the object cache. Inherited from Session.
DropChanges() Discards changes made to persistent objects and clears a list of tracked changes. Inherited from Session.
DropIdentityMap() Clears the Identity Map. Inherited from Session.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Evaluate(XPClassInfo, CriteriaOperator, CriteriaOperator) Evaluates the specified expression for objects of the specified type. Inherited from Session.
Evaluate(Type, CriteriaOperator, CriteriaOperator) Evaluates the specified expression for objects of the specified type. Inherited from Session.
Evaluate<ClassType>(CriteriaOperator, CriteriaOperator) Evaluates the specified expression for objects of the type designated by the specified generic type parameter. Inherited from Session.
EvaluateAsync(XPClassInfo, CriteriaOperator, CriteriaOperator, CancellationToken) Asynchronously evaluates the specified expression against objects of the specified type. Inherited from Session.
EvaluateAsync(Type, CriteriaOperator, CriteriaOperator, CancellationToken) Asynchronously evaluates the specified expression against objects of the specified type. Inherited from Session.
EvaluateInTransaction(XPClassInfo, CriteriaOperator, CriteriaOperator) Evaluates the specified expression for objects of the specified type, taking into account all in-memory object changes. Inherited from Session.
EvaluateInTransaction(Type, CriteriaOperator, CriteriaOperator) Evaluates the specified expression against objects of the specified type. Accounts for all in-memory object changes. Inherited from Session.
EvaluateInTransaction<ClassType>(CriteriaOperator, CriteriaOperator) Evaluates the specified expression against objects whose type is designated by the generic parameter. Accounts for all in-memory object changes. Inherited from Session.
EvaluateInTransactionAsync(XPClassInfo, CriteriaOperator, CriteriaOperator, CancellationToken) Asynchronously evaluates the specified expression against objects of the specified type. Accounts for all in-memory object changes. Inherited from Session.
EvaluateInTransactionAsync(Type, CriteriaOperator, CriteriaOperator, CancellationToken) Asynchronously evaluates the specified expression against objects of the specified type. Accounts for all in-memory object changes. Inherited from Session.
EvaluateInTransactionAsync<ClassType>(CriteriaOperator, CriteriaOperator, CancellationToken) Asynchronously evaluates the specified expression against objects whose type is designated by the generic parameter. Accounts for all in-memory object changes. Inherited from Session.
ExecuteNonQuery(String, QueryParameterCollection) Executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQuery(String, Object[]) Executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQuery(String, String[], QueryParameterCollection) Executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQuery(String, String[], Object[]) Executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQuery(String) Executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQueryAsync(String, QueryParameterCollection, CancellationToken) Asynchronously executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQueryAsync(String, Object[], CancellationToken) Asynchronously executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQueryAsync(String, CancellationToken) Asynchronously executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQueryAsync(CancellationToken, String, String[], QueryParameterCollection) Asynchronously executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteNonQueryAsync(CancellationToken, String, String[], Object[]) Asynchronously executes the specified SQL statement and returns the number of rows affected. Inherited from Session.
ExecuteQuery(String, QueryParameterCollection) Executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQuery(String, Object[]) Executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQuery(String, String[], QueryParameterCollection) Executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQuery(String, String[], Object[]) Executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQuery(String) Executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQueryAsync(String, QueryParameterCollection, CancellationToken) Asynchronously executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQueryAsync(String, Object[], CancellationToken) Asynchronously executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQueryAsync(String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQueryAsync(String, String[], Object[], CancellationToken) Asynchronously executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQueryAsync(String, CancellationToken) Asynchronously executes the specified SQL query and returns a result set. Inherited from Session.
ExecuteQueryWithMetadata(String, QueryParameterCollection) Executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadata(String, Object[]) Executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadata(String, String[], QueryParameterCollection) Executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadata(String, String[], Object[]) Executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadata(String) Executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadataAsync(String, QueryParameterCollection, CancellationToken) Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadataAsync(String, Object[], CancellationToken) Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadataAsync(String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadataAsync(String, String[], Object[], CancellationToken) Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteQueryWithMetadataAsync(String, CancellationToken) Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns. Inherited from Session.
ExecuteScalar(String, QueryParameterCollection) Executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalar(String, Object[]) Executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalar(String, String[], QueryParameterCollection) Executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalar(String, String[], Object[]) Executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalar(String) Executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalarAsync(String, QueryParameterCollection, CancellationToken) Asynchronously executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalarAsync(String, Object[], CancellationToken) Executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalarAsync(String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalarAsync(String, String[], Object[], CancellationToken) Asynchronously executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteScalarAsync(String, CancellationToken) Executes the specified SQL query and returns the first column of the first row in the result set returned by the query. Inherited from Session.
ExecuteSproc(String, OperandValue[]) Executes the specified stored procedure and returns its result set. Inherited from Session.
ExecuteSprocAsync(CancellationToken, String, OperandValue[]) Asynchronously executes the specified stored procedure and returns its result set. Inherited from Session.
ExecuteSprocParametrized(String, SprocParameter[]) Executes the specified stored procedure with the named parameters and returns its result set. Inherited from Session.
ExecuteSprocParametrizedAsync(CancellationToken, String, SprocParameter[]) Asynchronously executes the specified stored procedure with the named parameters and returns its result set. Inherited from Session.
ExplicitBeginTransaction() Marks the starting point of a database level transaction. Inherited from Session.
ExplicitBeginTransaction(IsolationLevel) Marks the starting point of a database level transaction that is started with the specified IsolationLevel value. Inherited from Session.
ExplicitBeginTransactionAsync(IsolationLevel, CancellationToken) Inherited from Session.
ExplicitBeginTransactionAsync(CancellationToken) Inherited from Session.
ExplicitCommitTransaction() Completes a database level transaction and commits changes made within it. Inherited from Session.
ExplicitCommitTransactionAsync(CancellationToken) Asynchronously completes a database level transaction and commits changes made within the transaction. Inherited from Session.
ExplicitRollbackTransaction() Completes a database level transaction and rolls back changes made within it. Inherited from Session.
ExplicitRollbackTransactionAsync(CancellationToken) Inherited from Session.
FindObject(XPClassInfo, CriteriaOperator, Boolean) Searches for the first object which matches the specified criteria. Inherited from Session.
FindObject(XPClassInfo, CriteriaOperator) Searches for the first object which matches the specified criteria. Inherited from Session.
FindObject(PersistentCriteriaEvaluationBehavior, XPClassInfo, CriteriaOperator, Boolean) Searches for the first object which matches the specified criteria. Inherited from Session.
FindObject(PersistentCriteriaEvaluationBehavior, XPClassInfo, CriteriaOperator) Searches for the first object which matches the specified criteria. Inherited from Session.
FindObject(PersistentCriteriaEvaluationBehavior, Type, CriteriaOperator) Searches for the first object which matches the specified criteria. Inherited from Session.
FindObject(Type, CriteriaOperator, Boolean) Searches for the first object which matches the specified criteria. Inherited from Session.
FindObject(Type, CriteriaOperator) Searches for the first object which matches the specified criteria. Inherited from Session.
FindObject<ClassType>(CriteriaOperator, Boolean) Searches for the first object of the type designated by the specified generic type parameter which matches the specified criteria. Inherited from Session.
FindObject<ClassType>(CriteriaOperator) Searches for the first object of the type designated by the specified generic type parameter which matches the specified criteria. Inherited from Session.
FindObject<ClassType>(PersistentCriteriaEvaluationBehavior, CriteriaOperator) Searches for the first object of the type designated by the specified generic type parameter which matches the specified criteria. Inherited from Session.
FindObjectAsync(XPClassInfo, CriteriaOperator, AsyncFindObjectCallback) Asynchronously searches for the first object which matches the specified criteria, and notifies upon completion. Inherited from Session.
FindObjectAsync(XPClassInfo, CriteriaOperator, Boolean, AsyncFindObjectCallback) Asynchronously searches for the first object which matches the specified criteria, and notifies upon completion. Inherited from Session.
FindObjectAsync(XPClassInfo, CriteriaOperator, Boolean, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. Inherited from Session.
FindObjectAsync(XPClassInfo, CriteriaOperator, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. Inherited from Session.
FindObjectAsync(PersistentCriteriaEvaluationBehavior, XPClassInfo, CriteriaOperator, AsyncFindObjectCallback) Asynchronously searches for the first object which matches the specified criteria, and notifies upon completion. Inherited from Session.
FindObjectAsync(PersistentCriteriaEvaluationBehavior, XPClassInfo, CriteriaOperator, Boolean, AsyncFindObjectCallback) Asynchronously searches for the first object which matches the specified criteria, and notifies upon completion. Inherited from Session.
FindObjectAsync(PersistentCriteriaEvaluationBehavior, XPClassInfo, CriteriaOperator, Boolean, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. Inherited from Session.
FindObjectAsync(PersistentCriteriaEvaluationBehavior, Type, CriteriaOperator, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. Inherited from Session.
FindObjectAsync(Type, CriteriaOperator, Boolean, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. Inherited from Session.
FindObjectAsync(Type, CriteriaOperator, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. Inherited from Session.
FindObjectAsync<ClassType>(CriteriaOperator, AsyncFindObjectCallback) 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. Inherited from Session.
FindObjectAsync<ClassType>(CriteriaOperator, Boolean, AsyncFindObjectCallback) 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. Inherited from Session.
FindObjectAsync<ClassType>(CriteriaOperator, Boolean, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. This object’s type is designated by the specified generic parameter. Inherited from Session.
FindObjectAsync<ClassType>(CriteriaOperator, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. This object’s type is designated by the specified generic parameter. Inherited from Session.
FindObjectAsync<ClassType>(PersistentCriteriaEvaluationBehavior, CriteriaOperator, AsyncFindObjectCallback) 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. Inherited from Session.
FindObjectAsync<ClassType>(PersistentCriteriaEvaluationBehavior, CriteriaOperator, CancellationToken) Asynchronously searches for the first object that matches the specified criteria. This object’s type is designated by the specified generic parameter. Inherited from Session.
FlushChanges() Saves changes made to persistent objects to a data store, and clears a list of tracked changes. Inherited from Session.
FlushChangesAsync(AsyncCommitCallback) Asynchronously saves changes made to persistent objects to a data store, clears a list of tracked changes and notifies upon completion. Inherited from Session.
FlushChangesAsync(CancellationToken) Asynchronously saves changes made to persistent objects to a data store and clears a tracked changes list. Inherited from Session.
GetClassInfo(Object) Returns the XPClassInfo for the specified persistent object. Inherited from Session.
GetClassInfo(String, String) Returns the XPClassInfo for the specified assembly and class. Inherited from Session.
GetClassInfo(Type) Returns the XPClassInfo for the specified type of class. Inherited from Session.
GetClassInfo<ClassType>() Returns the XPClassInfo for the type designated by the specified generic type parameter. Inherited from Session.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetIdentityMapBehavior() This method is intended for internal use only. Inherited from Session.
GetKeyValue(Object) Returns the key property’s value of the specified persistent object. Inherited from Session.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetLoadedObjectByKey(XPClassInfo, Object) Returns the persistent object with the specified value of the key property that has been already loaded from a data store. Inherited from Session.
GetLoadedObjectByKey(Type, Object) Returns the persistent object with the specified value of the key property that has been already loaded from a data store. Inherited from Session.
GetLoadedObjectByKey<ClassType>(Object) 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. Inherited from Session.
GetObjectByKey(XPClassInfo, Object, Boolean) Returns the reloaded persistent object with the specified value of the key property from a data store. Inherited from Session.
GetObjectByKey(XPClassInfo, Object) Returns a persistent object with the specified value of the key property. Inherited from Session.
GetObjectByKey(Type, Object, Boolean) Returns the reloaded persistent object with the specified value of the key property from a data store. Inherited from Session.
GetObjectByKey(Type, Object) Returns the persistent object that has the specified value for its key property. Inherited from Session.
GetObjectByKey<ClassType>(Object, Boolean) Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property. Inherited from Session.
GetObjectByKey<ClassType>(Object) Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property. Inherited from Session.
GetObjectByKeyAsync(XPClassInfo, Object, Boolean, CancellationToken) Asynchronously returns a persistent object that has the specified key property value from a data store. Inherited from Session.
GetObjectByKeyAsync(XPClassInfo, Object, CancellationToken) Asynchronously returns a persistent object that has the specified key property value. Inherited from Session.
GetObjectByKeyAsync(Type, Object, Boolean, CancellationToken) Asynchronously returns a persistent object that has the specified key property value from a data store. Inherited from Session.
GetObjectByKeyAsync(Type, Object, CancellationToken) Asynchronously returns a persistent object that has the specified key property value. Inherited from Session.
GetObjectByKeyAsync<ClassType>(Object, Boolean, CancellationToken) Asynchronously returns a persistent object that has the specified key property value. The persistent object’s type is set by the generic type parameter. Inherited from Session.
GetObjectByKeyAsync<ClassType>(Object, CancellationToken) Asynchronously returns a persistent object that has the specified key property value. The persistent object’s type is set by the generic type parameter. Inherited from Session.
GetObjects(XPClassInfo, CriteriaOperator, SortingCollection, Int32, CollectionCriteriaPatcher, Boolean) Obsolete. This GetObjects method overload is obsolete. Use the method overloads that do not take a CollectionCriteriaPatcher collectionCriteriaPatcher parameter. Inherited from Session.
GetObjects(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Boolean, Boolean) Gets a collection of persistent objects that match the specified criteria. Inherited from Session.
GetObjects(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Int32, Boolean, Boolean) Gets a collection of persistent objects that match the specified criteria. Inherited from Session.
GetObjects(ObjectsQuery[]) Gets a collection of persistent objects returned by specified queries. Inherited from Session.
GetObjectsAsync(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Boolean, Boolean, AsyncLoadObjectsCallback) Asynchronously gets a collection of persistent objects that match the specified criteria and notifies upon completion. Inherited from Session.
GetObjectsAsync(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Boolean, Boolean, CancellationToken) Asynchronously retrieves persistent objects, according to specific criteria, and notifies upon completion. Inherited from Session.
GetObjectsAsync(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Int32, Boolean, Boolean, AsyncLoadObjectsCallback) Asynchronously gets a collection of persistent objects that match the specified criteria and notifies upon completion. Inherited from Session.
GetObjectsAsync(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Int32, Boolean, Boolean, CancellationToken) Asynchronously retrieves persistent objects from specified queries. Inherited from Session.
GetObjectsAsync(ObjectsQuery[], AsyncLoadObjectsCallback) Asynchronously gets a collection of persistent objects that match the specified criteria and notifies upon completion. Inherited from Session.
GetObjectsAsync(ObjectsQuery[], CancellationToken) Asynchronously retrieves persistent objects obtained from specified queries. Inherited from Session.
GetObjectsByKey(XPClassInfo, ICollection, Boolean) Returns reloaded persistent objects with specified key property values from a data store. Inherited from Session.
GetObjectsByKey(ObjectsByKeyQuery[], Boolean) Returns reloaded persistent objects from a data store, using queries based on specified object types and key values. Inherited from Session.
GetObjectsByKeyAsync(XPClassInfo, ICollection, Boolean, CancellationToken) Asynchronously returns reloaded persistent objects that have specified key property values from a data store. Inherited from Session.
GetObjectsByKeyAsync(ObjectsByKeyQuery[], Boolean, CancellationToken) Asynchronously returns reloaded persistent objects that have specified key property values from a data store. Inherited from Session.
GetObjectsByKeyFromQuery(XPClassInfo, Boolean, String) Returns reloaded persistent objects from a data store, with key property values obtained via the specified SQL query. Inherited from Session.
GetObjectsByKeyFromSproc(XPClassInfo, Boolean, String, OperandValue[]) Returns reloaded persistent objects from a data store, with key property values obtained via the specified stored procedure. Inherited from Session.
GetObjectsByKeyFromSprocParametrized(XPClassInfo, Boolean, String, SprocParameter[]) Returns persistent objects with the keys loaded with the specified stored procedure. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, LoadDataMemberOrderItem[], String, QueryParameterCollection) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, LoadDataMemberOrderItem[], String, Object[]) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, LoadDataMemberOrderItem[], String, String[], QueryParameterCollection) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, LoadDataMemberOrderItem[], String, String[], Object[]) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, LoadDataMemberOrderItem[], String) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, List<XPMemberInfo>, String, QueryParameterCollection) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, List<XPMemberInfo>, String, Object[]) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, List<XPMemberInfo>, String, String[], QueryParameterCollection) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, List<XPMemberInfo>, String, String[], Object[]) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, List<XPMemberInfo>, String) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, String, QueryParameterCollection) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, String, Object[]) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, String, String[], QueryParameterCollection) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, String, String[], Object[]) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery(XPClassInfo, String) Executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQuery<T>(LoadDataMemberOrderItem[], String, QueryParameterCollection) 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. Inherited from Session.
GetObjectsFromQuery<T>(LoadDataMemberOrderItem[], String, Object[]) 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. Inherited from Session.
GetObjectsFromQuery<T>(LoadDataMemberOrderItem[], String, String[], QueryParameterCollection) 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. Inherited from Session.
GetObjectsFromQuery<T>(LoadDataMemberOrderItem[], String, String[], Object[]) 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. Inherited from Session.
GetObjectsFromQuery<T>(LoadDataMemberOrderItem[], String) 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. Inherited from Session.
GetObjectsFromQuery<T>(List<XPMemberInfo>, String, QueryParameterCollection) 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. Inherited from Session.
GetObjectsFromQuery<T>(List<XPMemberInfo>, String, Object[]) 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. Inherited from Session.
GetObjectsFromQuery<T>(List<XPMemberInfo>, String, String[], QueryParameterCollection) 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. Inherited from Session.
GetObjectsFromQuery<T>(List<XPMemberInfo>, String, String[], Object[]) 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. Inherited from Session.
GetObjectsFromQuery<T>(List<XPMemberInfo>, String) 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. Inherited from Session.
GetObjectsFromQuery<T>(String, QueryParameterCollection) 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. Inherited from Session.
GetObjectsFromQuery<T>(String, Object[]) 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. Inherited from Session.
GetObjectsFromQuery<T>(String, String[], QueryParameterCollection) 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. Inherited from Session.
GetObjectsFromQuery<T>(String, String[], Object[]) 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. Inherited from Session.
GetObjectsFromQuery<T>(String) 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. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, LoadDataMemberOrderItem[], String, QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, LoadDataMemberOrderItem[], String, Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, LoadDataMemberOrderItem[], String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, LoadDataMemberOrderItem[], String, String[], Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, LoadDataMemberOrderItem[], String, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, List<XPMemberInfo>, String, QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, List<XPMemberInfo>, String, Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, List<XPMemberInfo>, String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, List<XPMemberInfo>, String, String[], Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, List<XPMemberInfo>, String, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, String, QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, String, Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, String, String[], Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync(XPClassInfo, String, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(LoadDataMemberOrderItem[], String, QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(LoadDataMemberOrderItem[], String, Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(LoadDataMemberOrderItem[], String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(LoadDataMemberOrderItem[], String, String[], Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(LoadDataMemberOrderItem[], String, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(List<XPMemberInfo>, String, QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(List<XPMemberInfo>, String, Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(List<XPMemberInfo>, String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(List<XPMemberInfo>, String, String[], Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(List<XPMemberInfo>, String, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(String, QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(String, Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(String, String[], QueryParameterCollection, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(String, String[], Object[], CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromQueryAsync<T>(String, CancellationToken) Asynchronously executes a SQL query and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSproc(XPClassInfo, LoadDataMemberOrderItem[], String, OperandValue[]) Executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSproc(XPClassInfo, List<XPMemberInfo>, String, OperandValue[]) Executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSproc(XPClassInfo, String, OperandValue[]) Executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSproc<T>(LoadDataMemberOrderItem[], String, OperandValue[]) 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. Inherited from Session.
GetObjectsFromSproc<T>(List<XPMemberInfo>, String, OperandValue[]) 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. Inherited from Session.
GetObjectsFromSproc<T>(String, OperandValue[]) 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. Inherited from Session.
GetObjectsFromSprocAsync(CancellationToken, XPClassInfo, LoadDataMemberOrderItem[], String, OperandValue[]) Asynchronously executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocAsync(CancellationToken, XPClassInfo, List<XPMemberInfo>, String, OperandValue[]) Asynchronously executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocAsync(CancellationToken, XPClassInfo, String, OperandValue[]) Asynchronously executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocAsync<T>(CancellationToken, LoadDataMemberOrderItem[], String, OperandValue[]) Asynchronously executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocAsync<T>(CancellationToken, List<XPMemberInfo>, String, OperandValue[]) Asynchronously executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocAsync<T>(CancellationToken, String, OperandValue[]) Asynchronously executes a stored procedure and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrized(XPClassInfo, LoadDataMemberOrderItem[], String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrized(XPClassInfo, List<XPMemberInfo>, String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrized(XPClassInfo, String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrized<T>(LoadDataMemberOrderItem[], String, SprocParameter[]) 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. Inherited from Session.
GetObjectsFromSprocParametrized<T>(List<XPMemberInfo>, String, SprocParameter[]) 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. Inherited from Session.
GetObjectsFromSprocParametrized<T>(String, SprocParameter[]) 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. Inherited from Session.
GetObjectsFromSprocParametrizedAsync(CancellationToken, XPClassInfo, LoadDataMemberOrderItem[], String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrizedAsync(CancellationToken, XPClassInfo, List<XPMemberInfo>, String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrizedAsync(CancellationToken, XPClassInfo, String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrizedAsync<T>(CancellationToken, LoadDataMemberOrderItem[], String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrizedAsync<T>(CancellationToken, List<XPMemberInfo>, String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsFromSprocParametrizedAsync<T>(CancellationToken, String, SprocParameter[]) Executes a stored procedure with named parameters and returns its result set as a collection of non-persistent objects. Inherited from Session.
GetObjectsInTransaction(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Int32, Boolean) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetObjectsInTransaction(XPClassInfo, CriteriaOperator, Boolean, Boolean) Obsolete. This GetObjectsInTransaction method overload is obsolete. Use the overloads that do not take a Boolean caseSensitive parameter. Inherited from Session.
GetObjectsInTransaction(XPClassInfo, CriteriaOperator, Boolean) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetObjectsInTransactionAsync(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Int32, Boolean, AsyncLoadObjectsCallback) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetObjectsInTransactionAsync(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Int32, Boolean, CancellationToken) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetObjectsInTransactionAsync(XPClassInfo, CriteriaOperator, Boolean, AsyncLoadObjectsCallback) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetObjectsInTransactionAsync(XPClassInfo, CriteriaOperator, Boolean, CancellationToken) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetObjectsToDelete() Returns a collection of persistent objects that will be deleted when the current transaction is committed. Inherited from Session.
GetObjectsToDelete(Boolean) Returns a collection of persistent objects that will be deleted when the current transaction is committed, including objects that will be deleted in the parent transaction(s), optionally. Inherited from Session.
GetObjectsToSave() Returns a collection of objects that will be saved when the current transaction is committed. Inherited from Session.
GetObjectsToSave(Boolean) 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. Inherited from Session.
GetObjectType(XPClassInfo) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetObjectType(Int32) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetObjectType(Object) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
GetProperties(XPClassInfo) Gets the properties of the class whose metadata is provided by the specified XPClassInfo object. Inherited from Session.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
IsNewObject(Object, Boolean) Obsolete. Indicates whether the specified persistent object is a newly created object which isn’t saved in the transaction currently in progress or in any of its parent transaction (optionally). Inherited from Session.
IsNewObject(Object) Indicates whether the specified object is contained within the session’s cache. Inherited from Session.
IsObjectMarkedDeleted(Object) Indicates whether the specified persistent object is marked as deleted. Inherited from Session.
IsObjectToDelete(Object, Boolean) Indicates whether the specified object is deleted in the transaction currently in progress or in any of its parent transaction (optionally). Inherited from Session.
IsObjectToDelete(Object) Indicates whether the specified object is deleted in the transaction currently in progress. Inherited from Session.
IsObjectToSave(Object, Boolean) Indicates whether the specified object is saved in the transaction currently in progress or in any of its parent transaction (optionally). Inherited from Session.
IsObjectToSave(Object) Indicates whether the specified object is saved in the transaction currently in progress. Inherited from Session.
Load(XPClassInfo, IEnumerable, String[]) Obsolete. This method is obsolete. Use Session.PreFetch or Session.PreFetch<T> instead. Inherited from Session.
Load(XPBaseCollection[]) Obsolete. This method is obsolete. Use Session.BulkLoad instead. Inherited from Session.
Load<T>(IEnumerable<T>, String[]) Obsolete. This method is obsolete. Use Session.PreFetch or Session.PreFetch<T> instead. Inherited from Session.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
PreFetch(XPClassInfo, IEnumerable, String[]) Enforces loading data for associated collections and delayed properties. Inherited from Session.
PreFetch(IEnumerable, XPMemberInfo, IEnumerable) Enforces loading data for an associated collection. Inherited from Session.
PreFetch<T>(IEnumerable<T>, String, IEnumerable) Enforces loading data for associated collections. Inherited from Session.
PreFetch<T>(IEnumerable<T>, String[]) Enforces loading data for associated collections and delayed properties. Inherited from Session.
PreFetchAsync(XPClassInfo, IEnumerable, CancellationToken, String[]) Asynchronously forces associated collection data loading and delayed property loading for specified parent objects. Inherited from Session.
PreFetchAsync(IEnumerable, XPMemberInfo, IEnumerable, CancellationToken) Asynchronously forces associated collection data loading for specified parent objects. Inherited from Session.
PreFetchAsync<T>(IEnumerable<T>, String, IEnumerable, CancellationToken) Asynchronously forces associated collection data loading for specified parent objects. Inherited from Session.
PreFetchAsync<T>(IEnumerable<T>, CancellationToken, String[]) Asynchronously forces associated collection data loading and delayed property loading for specified parent objects. Inherited from Session.
ProcessReferences(Object, ProcessReferenceHandler) Returns a list objects that were processed within the specified event handler. Inherited from Session.
PurgeDeletedObjects() Deletes the objects marked as deleted from storage. Inherited from Session.
PurgeDeletedObjects(IObjectLayer) static Deletes the objects marked as deleted from a storage. Inherited from Session.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reload(Object, Boolean) Reloads the state of the specified persistent object and its aggregated objects from the data store, recursively. Inherited from Session.
Reload(Object) Reloads the state of the specified persistent object from the data store. Inherited from Session.
ReloadAsync(Object, Boolean, CancellationToken) Recursively reloads a persistent object’s state and aggregated objects from the data store, asynchronously. Inherited from Session.
ReloadAsync(Object, CancellationToken) Recursively reloads a persistent object’s state and aggregated objects from the data store, asynchronously. Inherited from Session.
ReloadChangedObjects() Reloads the state of persistent objects modified within the current UnitOfWork from the data store.
RemoveFromDeleteList(Object) This member supports the .NET Framework infrastructure and cannot be used directly from your code. Inherited from Session.
RemoveFromLists(Object) This member supports the .NET Framework infrastructure and cannot be used directly from your code.. Inherited from Session.
RemoveFromSaveList(Object) This member supports the .NET Framework infrastructure and cannot be used directly from your code. Inherited from Session.
RollbackTransaction() Rolls back a transaction to its starting point, and completes it. Inherited from Session.
Save(ICollection) Saves the specified persistent objects to a data store. Inherited from Session.
Save(Object) Saves the specified persistent object to a data store. Inherited from Session.
SaveAsync(Object, CancellationToken) Asynchronously saves the specified persistent object to a data store. Inherited from Session.
SelectData(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, SortingCollection) Retrieves objects from a session using the specified query parameters. Inherited from Session.
SelectData(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection) Retrieves objects from a session using the specified query parameters. Inherited from Session.
SelectData(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, SortingCollection) Retrieves objects from a session using the specified query parameters. Inherited from Session.
SelectData(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection) Retrieves objects from a session using the specified query parameters. Inherited from Session.
SelectDataAsync(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, SortingCollection, CancellationToken) Retrieves object data from a session asynchronously, according to specified query parameters. Inherited from Session.
SelectDataAsync(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection, AsyncSelectDataCallback) Asynchronously retrieves objects from a session, using the specified query parameters. Inherited from Session.
SelectDataAsync(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection, CancellationToken) Retrieves object data from a session asynchronously, according to specified query parameters. Inherited from Session.
SelectDataAsync(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, SortingCollection, CancellationToken) Retrieves object data from a session asynchronously according to specified query parameters. Inherited from Session.
SelectDataAsync(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection, CancellationToken) Retrieves object data from a session asynchronously, according to specified query parameters. Inherited from Session.
SelectDataInTransaction(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection) Retrieves objects from a session using the specified query parameters, including all in-memory changes into query results. Inherited from Session.
SelectDataInTransactionAsync(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection, CancellationToken) Asynchronously retrieves objects from a session, according to specified query parameters. Accounts for all in-memory object changes. Inherited from Session.
SetAsyncRequestPriority(Object, AsyncRequestPriority) static This method is intended for internal use. Inherited from Session.
SetKeyValue(Object, Object) Assigns the key property’s value of the specified persistent object. Inherited from Session.
ToString() Returns a string that represents the current session. Inherited from Session.
TriggerObjectChanged(Object, ObjectChangeEventArgs) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from Session.
UpdateSchema() Updates the storage schema according to the class descriptions that are listed in the assemblies that have been loaded into the application domain. Inherited from Session.
UpdateSchema(XPClassInfo[]) Updates the database schema to support the persistence of the objects with the specified metadata information. Inherited from Session.
UpdateSchema(Boolean, XPClassInfo[]) Updates a data store’s schema according to the class descriptions of the specified types. Inherited from Session.
UpdateSchema(Assembly[]) Updates the storage schema according to the class descriptions that are listed in the specified assemblies. Inherited from Session.
UpdateSchema(Type[]) Updates a data store’s schema according to the class descriptions of the specified types. Inherited from Session.
UpdateSchemaAsync(CancellationToken, XPClassInfo[]) Asynchronously updates the database schema to support the persistence of the objects with the specified metadata information. Inherited from Session.
UpdateSchemaAsync(CancellationToken, Boolean, XPClassInfo[]) Asynchronously updates the database schema to support the persistence of the objects with the specified metadata information. Inherited from Session.
UpdateSchemaAsync(CancellationToken, Assembly[]) Asynchronously updates the storage schema according to the class descriptions that are listed in the specified assemblies. Inherited from Session.
UpdateSchemaAsync(CancellationToken, Type[]) Asynchronously updates a data store’s schema according to the class descriptions of the specified types. Inherited from Session.
UpdateSchemaAsync(CancellationToken) Asynchronously updates the storage schema according to the class descriptions that are listed in the assemblies that have been loaded into the application domain. Inherited from Session.
WaitForAsyncRequestComplete(Session, Object) static This method is intended for internal use. Inherited from Session.

Events

Name Description
AfterBeginTrackingChanges 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.
AfterBeginTransaction Occurs after a transaction has been started via the BEGIN operation. Inherited from Session.
AfterCommitNestedUnitOfWork Fires after the nested unit of work has been committed. Inherited from Session.
AfterCommitTransaction Occurs after a transaction has been completed via the COMMIT operation. Inherited from Session.
AfterConnect Occurs after a connection to a database has been established. Inherited from Session.
AfterDisconnect Occurs when a connection to a database is closed. Inherited from Session.
AfterDropChanges Occurs after a list of tracked changes has been cleared. Inherited from Session.
AfterFlushChanges Occurs after tracked changes have been temporarily saved to a data store. Inherited from Session.
AfterRollbackTransaction Occurs after a transaction has been completed via the ROLLBACK operation. Inherited from Session.
BeforeBeginTrackingChanges 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.
BeforeBeginTransaction Occurs when a transaction is about to be started via the BEGIN operation. Inherited from Session.
BeforeCommitNestedUnitOfWork Fires before the nested unit of work is committed. Inherited from Session.
BeforeCommitTransaction Occurs when a transaction is about to be completed via the COMMIT operation. Inherited from Session.
BeforeConnect Occurs before the connection to a database is established. Inherited from Session.
BeforeDisconnect Occurs before the connection to a database is detached. Inherited from Session.
BeforeDropChanges Occurs when a list of tracked changes is about to be cleared. Inherited from Session.
BeforeFlushChanges Occurs when tracked changes are about to be temporarily saved to a data store. Inherited from Session.
BeforePreProcessCommitedList Fires after the Session.CommitTransaction method has been called. Inherited from Session.
BeforeRollbackTransaction Occurs when a transaction is about to be completed via the ROLLBACK operation. Inherited from Session.
BeforeSave 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.
FailedCommitTransaction Occurs when the Commit Transaction operation fails due to database constraints or other circumstances. Inherited from Session.
FailedFlushChanges Occurs when the Flush Changes operation fails due to database constraints or other circumstances. Inherited from Session.
ObjectChanged Occurs after an object’s property has been changed. Inherited from Session.
ObjectDeleted Occurs after an object has been deleted. Inherited from Session.
ObjectDeleting Occurs when an object is about to be deleted. Inherited from Session.
ObjectLoaded Occurs after an object’s properties have been initialized with values from a data store. Inherited from Session.
ObjectLoading Occurs when an object’s properties are about to be initialized with values from a data store. Inherited from Session.
ObjectSaved Occurs after an object has been saved to a data store. Inherited from Session.
ObjectSaving Occurs when an object is about to be saved to a data store. Inherited from Session.
ObjectsLoaded Occurs after persistent objects have been initialized with values from a data store. Inherited from Session.
ObjectsSaved Occurs after persistent objects have been saved to a data store. Inherited from Session.
See Also