EntityDataSourceView Constructor

EntityDataSourceView Constructor (EntityDataSource, String)

.NET Framework (current version)

Initializes a new instance of the EntityDataSourceView class, setting the specified EntityDataSource control as the owner of the current view.

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

public EntityDataSourceView(
	EntityDataSource owner,
	string viewName


Type: System.Web.UI.WebControls.EntityDataSource

The data source control that the EntityDataSourceView object is associated with.

Type: System.String

A unique name for the data source view within the scope of the data source control that owns it.

.NET Framework
Available since 4.5
Return to top
© 2016 Microsoft