SecuredEFCoreObjectSpaceProvider(ISelectDataSecurityProvider, IDbContextFactory<TDbContext>) 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,
IDbContextFactory<TDbContext> dbContextFactory
)
Parameters
Name | Type | Description |
---|---|---|
selectDataSecurityProvider | DevExpress.ExpressApp.Security.ISelectDataSecurityProvider | An object that implements the ISelectDataSecurityProvider interface (for example, a SecurityStrategyComplex instance). |
dbContextFactory | IDbContextFactory<TDbContext> |
See Also