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. |
ExplicitUnitOfWork(IServiceProvider, IDataLayer, IDisposable[]) | serviceProvider, layer, disposeOnDisconnect | Initializes a new instance of the ExplicitUnitOfWork class with specified settings. |
ExplicitUnitOfWork(IServiceProvider, IObjectLayer, IDisposable[]) | serviceProvider, layer, disposeOnDisconnect | Initializes a new instance of the ExplicitUnitOfWork class with specified settings. |
ExplicitUnitOfWork(IServiceProvider, XPDictionary) | serviceProvider, dictionary | Initializes a new instance of the ExplicitUnitOfWork class with specified settings. |
ExplicitUnitOfWork(IServiceProvider, IContainer) | serviceProvider, container | Initializes a new instance of the ExplicitUnitOfWork class with specified settings. |
ExplicitUnitOfWork(IServiceProvider) | serviceProvider | Initializes a new instance of the ExplicitUnitOfWork class with specified settings. |
See Also