SecuredEFCoreObjectSpaceProvider(ISelectDataSecurityProvider, ServiceCollection, DbContextOptions<TDbContext>, ITypesInfo, String) Constructor
Initializes a new instance of the SecuredEFCoreObjectSpaceProvider<TDbContext> class with specified settings.
Namespace: DevExpress.EntityFrameworkCore.Security
Assembly: DevExpress.EntityFrameworkCore.Security.v24.2.dll
NuGet Package: DevExpress.ExpressApp.EFCore
Declaration
public SecuredEFCoreObjectSpaceProvider(
ISelectDataSecurityProvider selectDataSecurityProvider,
ServiceCollection services,
DbContextOptions<TDbContext> dbContextOptions,
ITypesInfo typesInfo,
string connectionString
)
Parameters
Name | Type | Description |
---|---|---|
selectDataSecurityProvider | DevExpress.ExpressApp.Security.ISelectDataSecurityProvider | An object that implements the ISelectDataSecurityProvider interface (for example, a SecurityStrategyComplex instance). |
services | ServiceCollection | A collection of services registered in your application (see Dependency injection). |
dbContextOptions | DbContextOptions<TDbContext> | An object that allows you to configure DbContext your application uses. |
typesInfo | ITypesInfo | An ITypesInfo object that provides access to XAF-related information on business classes. |
connectionString | String | An application’s connection string. |
See Also