Skip to main content

EFDataConnection(String, EFConnectionParameters) Constructor

Initializes a new instance of the EFDataConnection class with the specified connection name and parameters.

Namespace: DevExpress.DataAccess.EntityFramework

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public EFDataConnection(
    string name,
    EFConnectionParameters connectionParameters
)

Parameters

Name Type Description
name String

A String value, specifying the connection name. This value is assigner to the DataConnectionBase.Name property.

connectionParameters EFConnectionParameters

A DataConnectionParametersBase descendant. This value is assigned to the EFDataConnection.ConnectionParameters property.

See Also