Back to Devexpress

ExplicitUnitOfWork Constructors

xpo-devexpress-dot-xpo-dot-explicitunitofwork-dot-ctor.md

latest3.5 KB
Original Source

ExplicitUnitOfWork Constructors

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.

NameParametersDescription
ExplicitUnitOfWork()noneInitializes a new instance of the ExplicitUnitOfWork class with the default settings.
ExplicitUnitOfWork(IDataLayer, IDisposable[])layer, disposeOnDisconnectInitializes a new instance of the ExplicitUnitOfWork class with the specified settings.
ExplicitUnitOfWork(IObjectLayer, IDisposable[])layer, disposeOnDisconnectInitializes a new instance of the ExplicitUnitOfWork class with specified settings.
ExplicitUnitOfWork(XPDictionary)dictionaryInitializes a new instance of the ExplicitUnitOfWork class with the specified dictionary.
ExplicitUnitOfWork(IContainer)containerInitializes a new instance of the ExplicitUnitOfWork class and adds it to a form’s container.
ExplicitUnitOfWork(IServiceProvider, IDataLayer, IDisposable[])serviceProvider, layer, disposeOnDisconnectInitializes a new instance of the ExplicitUnitOfWork class with specified settings.
ExplicitUnitOfWork(IServiceProvider, IObjectLayer, IDisposable[])serviceProvider, layer, disposeOnDisconnectInitializes a new instance of the ExplicitUnitOfWork class with specified settings.
ExplicitUnitOfWork(IServiceProvider, XPDictionary)serviceProvider, dictionaryInitializes a new instance of the ExplicitUnitOfWork class with specified settings.
ExplicitUnitOfWork(IServiceProvider, IContainer)serviceProvider, containerInitializes a new instance of the ExplicitUnitOfWork class with specified settings.
ExplicitUnitOfWork(IServiceProvider)serviceProviderInitializes a new instance of the ExplicitUnitOfWork class with specified settings.

See Also

ExplicitUnitOfWork Class

ExplicitUnitOfWork Members

DevExpress.Xpo Namespace