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

EFObjectSpaceProvider(Type, ITypesInfo, EFTypeInfoSource, String) Constructor

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

Namespace: DevExpress.ExpressApp.EF

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

NuGet Package: DevExpress.ExpressApp.EF

Declaration

public EFObjectSpaceProvider(
    Type contextType,
    ITypesInfo typesInfo,
    EFTypeInfoSource typeInfoSource,
    string connectionString
)

Parameters

Name Type Description
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.EF.EFTypeInfoSource

A source of EF-related information on business classes.

connectionString String

An application’s connection string.

See Also