編輯

共用方式為


ContextDataSourceView.CreateContext(DataSourceOperation) Method

Definition

Creates an instance of the data context and entity-set type for the specified operation.

protected:
 virtual System::Web::UI::WebControls::ContextDataSourceContextData ^ CreateContext(System::Web::UI::DataSourceOperation operation);
protected virtual System.Web.UI.WebControls.ContextDataSourceContextData CreateContext (System.Web.UI.DataSourceOperation operation);
abstract member CreateContext : System.Web.UI.DataSourceOperation -> System.Web.UI.WebControls.ContextDataSourceContextData
override this.CreateContext : System.Web.UI.DataSourceOperation -> System.Web.UI.WebControls.ContextDataSourceContextData
Protected Overridable Function CreateContext (operation As DataSourceOperation) As ContextDataSourceContextData

Parameters

operation
DataSourceOperation

The type of data operation to perform.

Returns

An instance of the data context and entity-set type for the specified operation.

Applies to