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