Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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


Type: System.Data.EntityClient.EntityConnection

An EntityConnection to the Entity Data Model (EDM).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
© 2015 Microsoft