ExplicitUnitOfWork(IServiceProvider, IObjectLayer, IDisposable[]) Constructor
In This Article
Initializes a new instance of the ExplicitUnitOfWork class with specified settings.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public ExplicitUnitOfWork(
IServiceProvider serviceProvider,
IObjectLayer layer,
params IDisposable[] disposeOnDisconnect
)
#Parameters
Name | Type | Description |
---|---|---|
service |
IService |
An object that implements the IService |
layer | IObject |
An object which implements the IObject |
dispose |
IDisposable[] | An array of objects that implement the System. |
See Also