The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ExplicitUnitOfWork Constructors

The 'unit of work' that uses long explicit transactions to allow you to simplify the management of object changes and to access modified objects without having to commit the changes beforehand. See Explicit Units of Work.

Name Parameters Description
ExplicitUnitOfWork() none

Initializes a new instance of the ExplicitUnitOfWork class with the default settings.

ExplicitUnitOfWork(IContainer) container

Initializes a new instance of the ExplicitUnitOfWork class and adds it to a form's container.

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.

See Also