All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XPObjectSpaceProvider(IXpoDataStoreProvider, ITypesInfo, XpoTypeInfoSource, Boolean, Boolean) Constructor

Initializes a new instance of the XPObjectSpaceProvider class.

Namespace: DevExpress.ExpressApp.Xpo

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

Declaration

public XPObjectSpaceProvider(
    IXpoDataStoreProvider dataStoreProvider,
    ITypesInfo typesInfo,
    XpoTypeInfoSource xpoTypeInfoSource,
    bool threadSafe,
    bool useSeparateDataLayers = false
)

Parameters

Name Type Description
dataStoreProvider DevExpress.ExpressApp.Xpo.IXpoDataStoreProvider

An IXpoDataStoreProvider object.

typesInfo ITypesInfo

An ITypesInfo object that supplies metadata on types used in the XAF application.

xpoTypeInfoSource DevExpress.ExpressApp.DC.Xpo.XpoTypeInfoSource

An XpoTypeInfoSource object that is a source of XPO-related information on business classes.

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