Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LinqDataSourceView.CreateContext Method (DataSourceOperation)

.NET Framework 4.6 and 4.5

Creates an instance of the data context type using the specified data source operation.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected override ContextDataSourceContextData CreateContext(
	DataSourceOperation operation
)

Parameters

operation
Type: System.Web.UI.DataSourceOperation

The data source operation to use.

Return Value

Type: System.Web.UI.WebControls.ContextDataSourceContextData
An instance of the data context.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft