Skip to main content
.NET 6.0+

SecuredObjectSpaceProvider(ISelectDataSecurityProvider, String, IDbConnection, 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,
    string databaseConnectionString,
    IDbConnection connection,
    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).

databaseConnectionString String

An application’s connection string.

connection IDbConnection

An IDbConnection object that specifies the database connection.

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