EntityDataSource Constructor (EntityConnection)

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

public EntityDataSource(
	EntityConnection connection
)

Parameters

connection
Type: System.Data.EntityClient.EntityConnection

An EntityConnection to the Entity Data Model (EDM).

.NET Framework
Available since 3.5
Return to top
Show: