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.1.dll

NuGet Package: DevExpress.DataAccess


public EFDataConnection(
    string name,
    EFConnectionParameters connectionParameters


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