Skip to main content
.NET Framework 4.5.2+

SecuredObjectSpaceProvider(ISelectDataSecurityProvider, IXpoDataStoreProvider, ITypesInfo, XpoTypeInfoSource, Boolean, Boolean) Constructor

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

Namespace: DevExpress.ExpressApp.Security.ClientServer

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

Declaration

public SecuredObjectSpaceProvider(
    ISelectDataSecurityProvider selectDataSecurityProvider,
    IXpoDataStoreProvider dataStoreProvider,
    ITypesInfo typesInfo,
    XpoTypeInfoSource xpoTypeInfoSource,
    bool threadSafe,
    bool useSeparateDataLayers = false
)

Parameters

Name Type Description
selectDataSecurityProvider DevExpress.ExpressApp.Security.ISelectDataSecurityProvider

An object that implements the ISelectDataSecurityProvider interface (for example, a SecurityStrategyComplex instance).

dataStoreProvider DevExpress.ExpressApp.Xpo.IXpoDataStoreProvider

An IXpoDataStoreProvider object.

typesInfo ITypesInfo

An ITypesInfo object that provides access to XAF-related information on business classes.

xpoTypeInfoSource DevExpress.ExpressApp.DC.Xpo.XpoTypeInfoSource

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 the SimpleDataLayer Data Access Layer should be created when the threadSafe parameter is set to false; otherwise, false.

See Also