Redigera

Dela via


EntityDataSourceView(EntityDataSource, String) Constructor

Definition

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

public:
 EntityDataSourceView(System::Web::UI::WebControls::EntityDataSource ^ owner, System::String ^ viewName);
public EntityDataSourceView (System.Web.UI.WebControls.EntityDataSource owner, string viewName);
new System.Web.UI.WebControls.EntityDataSourceView : System.Web.UI.WebControls.EntityDataSource * string -> System.Web.UI.WebControls.EntityDataSourceView
Public Sub New (owner As EntityDataSource, viewName As String)

Parameters

owner
EntityDataSource

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

viewName
String

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

Applies to