Skip to main content
.NET Framework 4.6.2+

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

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.2.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