.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.
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