Skip to main content
All docs
V24.2
.NET 8.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.2.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