Skip to main content
A newer version of this page is available.
All docs
V20.2
.NET Standard 2.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

SecuredEFCoreObjectSpaceProvider(ISelectDataSecurityProvider, Type, ITypesInfo, EFCoreTypeInfoSource, String, EFCoreDatabaseProviderHandler) Constructor

Initializes a new instance of the SecuredEFCoreObjectSpaceProvider class with specified settings.

Namespace: DevExpress.EntityFrameworkCore.Security

Assembly: DevExpress.EntityFrameworkCore.Security.v20.2.dll

Declaration

public SecuredEFCoreObjectSpaceProvider(
    ISelectDataSecurityProvider selectDataSecurityProvider,
    Type contextType,
    ITypesInfo typesInfo,
    EFCoreTypeInfoSource typeInfoSource,
    string connectionString,
    EFCoreDatabaseProviderHandler databaseProviderHandler
)

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.

typesInfo ITypesInfo

An ITypesInfo object that provides access to XAF-related information on business classes.

typeInfoSource DevExpress.ExpressApp.EFCore.EFCoreTypeInfoSource

A source of EF Core-related information on business classes.

connectionString String

An application’s connection string.

databaseProviderHandler DevExpress.ExpressApp.EFCore.EFCoreDatabaseProviderHandler

A delegate with DbContextOptionsBuilder and string parameters where you can specify the database provider your application uses.

See Also