Skip to main content

EFDataConnection(String, EFConnectionParameters) Constructor

In This Article

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

Namespace: DevExpress.DataAccess.EntityFramework

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

#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