Skip to main content
.NET Framework 4.5.2+

ExplicitUnitOfWork Properties

The ‘unit of work’ that uses long database level transaction to allow you to simplify the management of object changes and to access modified objects without having to commit the changes beforehand.
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 the explicit unit of work has started a database level transaction or tracked data modifications.
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.
See Also