Редагувати

Поділитися через


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.

public:
 EntityDataSource();
public EntityDataSource ();
Public Sub New ()

Applies to

EntityDataSource(EntityConnection)

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

public:
 EntityDataSource(System::Data::EntityClient::EntityConnection ^ connection);
public EntityDataSource (System.Data.EntityClient.EntityConnection connection);
new System.Web.UI.WebControls.EntityDataSource : System.Data.EntityClient.EntityConnection -> System.Web.UI.WebControls.EntityDataSource
Public Sub New (connection As EntityConnection)

Parameters

connection
EntityConnection

An EntityConnection to the Entity Data Model (EDM).

Applies to