ContextDataSourceView.CreateContext(DataSourceOperation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.