SecuredEFCoreObjectSpaceProvider(ISelectDataSecurityProvider, Type, EFCoreDatabaseProviderHandler) Constructor
Initializes a new instance of the SecuredEFCoreObjectSpaceProvider class with specified settings.
Namespace: DevExpress.EntityFrameworkCore.Security
Assembly: DevExpress.EntityFrameworkCore.Security.v20.2.dll
NuGet Package: DevExpress.ExpressApp.EFCore
Declaration
Parameters
Name | Type | Description |
---|---|---|
selectDataSecurityProvider | DevExpress.ExpressApp.Security.ISelectDataSecurityProvider | An object that implements the ISelectDataSecurityProvider interface (for example, a SecurityStrategyComplex instance). |
contextType | Type | A type of a DbContext descendant your application uses. |
databaseProviderHandler | DevExpress.ExpressApp.EFCore.EFCoreDatabaseProviderHandler | A delegate with DbContextOptionsBuilder and string parameters where you can specify the database provider your application uses. |
See Also