EntityDataSource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).