Skip to main content
All docs
V24.2
.NET 8.0+
  • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SecuredEFCoreObjectSpaceProvider(ISelectDataSecurityProvider, String, EFCoreDatabaseProviderHandler<TDbContext>) Constructor

In This Article

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,
    string connectionString,
    EFCoreDatabaseProviderHandler<TDbContext> databaseProviderHandler
)

#Parameters

Name Type Description
selectDataSecurityProvider DevExpress.ExpressApp.Security.ISelectDataSecurityProvider

An object that implements the ISelectDataSecurityProvider interface (for example, a SecurityStrategyComplex instance).

connectionString String

An application’s connection string.

databaseProviderHandler DevExpress.ExpressApp.EFCore.EFCoreDatabaseProviderHandler<TDbContext>

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

See Also