Back to Devexpress

ExplicitUnitOfWork Properties

xpo-devexpress-dot-xpo-dot-explicitunitofwork-dot-underscore-properties.md

latest7.8 KB
Original Source

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.

NameDescription
AutoCreateOptionGets or sets the action which is performed when the session is connected to a data store. Inherited from Session.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
CaseSensitiveGets or sets whether string comparisons evaluated by the session on the client are case-sensitive. Inherited from Session.
ConnectionGets or sets an IDbConnection object associated with the session. Inherited from Session.
ConnectionStringGets or sets a connection string. Inherited from Session.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DataLayerGets the data access layer used by the current session to access a data store. Inherited from Session.
DefaultSession staticGets the pre-initialized default session for simple applications. Inherited from Session.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DictionaryGets metadata on persistent objects in a data store. Inherited from Session.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
IdentityMapBehaviorGets or sets the session’s Identity Map behavior. Inherited from Session.
InTransactionIndicates whether the explicit unit of work has started a database level transaction or tracked data modifications.
InTransactionMode staticEnables the mode in which querying a data store for objects includes all in-memory changes into query results. Inherited from Session.
IsConnectedGets whether the session is connected to a database. Inherited from Session.
IsObjectModifiedOnNonPersistentPropertyChangeSpecifies whether or not a persistent object is marked modified when its non-persistent property value is changed. Inherited from Session.
IsObjectsLoadingIndicates whether persistent objects are being loaded from a data store. Inherited from Session.
IsObjectsSavingIndicates whether persistent objects are being saved to a data store. Inherited from Session.
LockingOptionGets or sets a value which controls the persistent object’s locking during a session. Inherited from Session.
ObjectLayerProvides access to an object access layer, which the current session uses to retrieve and update object data in a data store. Inherited from Session.
ObjectsSavedInCurrentTransactionObsolete. Gets the collection of IXPSimpleObject objects that are saved in the transaction currently in progress. Inherited from Session.
OptimisticLockingReadBehaviorGets or sets a value which specifies how XPO behaves when reloading changed objects (objects with different versions). Inherited from Session.
ServiceProviderGets the service provider used by the current session to access service objects. Inherited from Session.
SiteGets or sets the ISite of the Component. Inherited from Component.
SuppressThrowingAssociationCollectionWithDisabledLoading staticObsolete. Specifies whether exceptions are thrown when committing changes in a collection whose XPBaseCollection.LoadingEnabled property is set to false. Inherited from Session.
TrackingChangesIndicates whether changes made to persistent objects are being tracked or a list of tracked changes is not empty. Inherited from Session.
TrackPropertiesModificationsSpecifies whether or not the current Session tracks persistent object property modifications. Inherited from Session.
TypesManagerThis member supports the XPO Framework infrastructure and is not intended to be used directly from your code. Inherited from Session.

See Also

ExplicitUnitOfWork Class

ExplicitUnitOfWork Members

DevExpress.Xpo Namespace