Skip to main content
All docs
V24.1
.NET 6.0+

XPObjectSpaceProvider(IServiceProvider, String, IDbConnection, Boolean, Boolean) Constructor

Initializes a new instance of the XPObjectSpaceProvider class with specified settings.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Xpo

Declaration

public XPObjectSpaceProvider(
    IServiceProvider serviceProvider,
    string connectionString,
    IDbConnection connection,
    bool threadSafe,
    bool useSeparateDataLayers = false
)

Parameters

Name Type
serviceProvider IServiceProvider
connectionString String
connection IDbConnection
threadSafe Boolean

Optional Parameters

Name Type Default
useSeparateDataLayers Boolean False
See Also