Прочитај на енглеском Уреди

Делите путем


EntityDataSource Constructors

Definition

Initializes a new instance of the EntityDataSource class.

Overloads

EntityDataSource()

Initializes a new instance of the EntityDataSource class.

EntityDataSource(EntityConnection)

Initializes a new instance of the EntityDataSource class with the provided connection.

EntityDataSource()

Initializes a new instance of the EntityDataSource class.

C#
public EntityDataSource();

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

EntityDataSource(EntityConnection)

Initializes a new instance of the EntityDataSource class with the provided connection.

C#
public EntityDataSource(System.Data.EntityClient.EntityConnection connection);

Parameters

connection
EntityConnection

An EntityConnection to the Entity Data Model (EDM).

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1