Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XPObjectSpaceProvider(IXpoDataStoreProvider, Boolean, Boolean) Constructor

Initializes a new instance of the XPObjectSpaceProvider class.

Namespace: DevExpress.ExpressApp.Xpo

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

NuGet Package: DevExpress.ExpressApp.Xpo

#Declaration

public XPObjectSpaceProvider(
    IXpoDataStoreProvider dataStoreProvider,
    bool threadSafe,
    bool useSeparateDataLayers = false
)

#Parameters

Name Type Description
dataStoreProvider DevExpress.ExpressApp.Xpo.IXpoDataStoreProvider

An IXpoDataStoreProvider object.

threadSafe Boolean

true, if the ThreadSafeDataLayer Data Access Layer should be used; otherwise, false.

#Optional Parameters

Name Type Default Description
useSeparateDataLayers Boolean False

true, if a separate SimpleDataLayer Data Access Layer should be created for each Object Space when the threadSafe parameter is set to false; otherwise, false.

See Also