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.2.dll
NuGet Package: DevExpress.ExpressApp.Security.Xpo
Declaration
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