EntityDataSourceView(EntityDataSource, String) 构造函数

定义

初始化类的新实例 EntityDataSourceView ,将指定的 EntityDataSource 控件设置为当前视图的所有者。

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)

参数

owner
EntityDataSource

对象与之关联的数据源控件 EntityDataSourceView

viewName
String

数据源视图在拥有数据源控件的作用域内的唯一名称。

适用于