共用方式為


EntityDataSourceView.ContextCreating 事件

定義

發生於 EntityDataSourceView 建立資料繫結中使用的 ObjectContext 時。

public:
 event EventHandler<System::Web::UI::WebControls::EntityDataSourceContextCreatingEventArgs ^> ^ ContextCreating;
public event EventHandler<System.Web.UI.WebControls.EntityDataSourceContextCreatingEventArgs> ContextCreating;
member this.ContextCreating : EventHandler<System.Web.UI.WebControls.EntityDataSourceContextCreatingEventArgs> 
Public Custom Event ContextCreating As EventHandler(Of EntityDataSourceContextCreatingEventArgs) 

事件類型

EventHandler<EntityDataSourceContextCreatingEventArgs>

適用於