UnitOfWork(IServiceProvider, IContainer) Constructor
In This Article
Initializes a new instance of the UnitOfWork class with specified settings.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public UnitOfWork(
IServiceProvider serviceProvider,
IContainer container
)
#Parameters
Name | Type | Description |
---|---|---|
service |
IService |
An object that implements the IService |
container | IContainer | An IContainer object, which is the owner container of the created Session instance. |
See Also