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, DbConnection, String, 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,
    DbConnection connection,
    string metadataLocations,
    string providerName
)

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.

connection DbConnection

A DbConnection object that specifies the database connection.

metadataLocations String

Metadata locations specified for the connection string.

providerName String

A name of a data provider specified for the connection string.

See Also