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>

适用于