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.

EFCoreObjectSpaceProvider(Type, ServiceCollection, DbContextOptions, ITypesInfo, String) Constructor

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

Namespace: DevExpress.ExpressApp.EFCore

Assembly: DevExpress.ExpressApp.EFCore.v20.2.dll

Declaration

public EFCoreObjectSpaceProvider(
    Type contextType,
    ServiceCollection services,
    DbContextOptions dbContextOptions,
    ITypesInfo typesInfo,
    string connectionString
)

Parameters

Name Type Description
contextType Type

A type of a DbContext descendant your application uses.

services ServiceCollection

A collection of services registered in your application (see Dependency injection).

dbContextOptions DbContextOptions

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