Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.
Name Parameters Description
ExplicitUnitOfWork() none Initializes a new instance of the ExplicitUnitOfWork class with the default settings.
ExplicitUnitOfWork(IDataLayer, IDisposable[]) layer, disposeOnDisconnect Initializes a new instance of the ExplicitUnitOfWork class with the specified settings.
ExplicitUnitOfWork(IObjectLayer, IDisposable[]) layer, disposeOnDisconnect Initializes a new instance of the ExplicitUnitOfWork class with specified settings.
ExplicitUnitOfWork(XPDictionary) dictionary Initializes a new instance of the ExplicitUnitOfWork class with the specified dictionary.
ExplicitUnitOfWork(IContainer) container Initializes a new instance of the ExplicitUnitOfWork class and adds it to a form’s container.
See Also