ContextDataSourceView Class
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.
Supports the ContextDataSource control and provides an interface for data-bound controls to perform data operations.
public ref class ContextDataSourceView abstract : System::Web::UI::WebControls::QueryableDataSourceView
public abstract class ContextDataSourceView : System.Web.UI.WebControls.QueryableDataSourceView
type ContextDataSourceView = class
inherit QueryableDataSourceView
Public MustInherit Class ContextDataSourceView
Inherits QueryableDataSourceView
- Inheritance
- Derived
Context |
Initializes a new instance of the ContextDataSourceView class. |
Event |
Indicates that an event occurred after an instance of the context type object was created. |
Event |
Indicates that an event occurs before an instance of the context type object is created. |
Event |
Indicates that an event occurs before an instance of the context type object is disposed. |
Auto |
Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control creates a dynamic an |
Auto |
Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control creates a dynamic |
Auto |
Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports paging by default. (Inherited from QueryableDataSourceView) |
Auto |
Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports sorting by default. (Inherited from QueryableDataSourceView) |
Can |
Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports delete operations. (Inherited from QueryableDataSourceView) |
Can |
Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports insert operations. (Inherited from QueryableDataSourceView) |
Can |
Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports paging. (Inherited from QueryableDataSourceView) |
Can |
Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports retrieving the total number of data rows, and retrieving the data. (Inherited from QueryableDataSourceView) |
Can |
Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports a sorted view of the retrieved data. (Inherited from QueryableDataSourceView) |
Can |
Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports update operations. (Inherited from QueryableDataSourceView) |
Context |
Gets or sets the current data context. |
Context |
Gets the type of the data context. |
Context |
Gets or sets the name of the data context class that contains the field or property that is specified in the TableName property. |
Delete |
Gets the collection that contains the parameters that are used during a delete operation. (Inherited from QueryableDataSourceView) |
Entity |
Gets or sets the object that contains the value of the data to retrieve. |
Entity |
Gets or sets the name of the property or field in the data-context class that represents a data collection. |
Entity |
Gets or sets the name of the object that is created for an insert, delete, or update operation. |
Entity |
Gets or sets the object that is created for an insert, delete, or update operation. |
Entity |
Gets or sets the name of the object that is created for an insert, delete, or update operation. |
Events |
Gets a list of event-handler delegates for the data source view. (Inherited from DataSourceView) |
Group |
Gets or sets the name or names of the properties to use during the select operation for grouping data. (Inherited from QueryableDataSourceView) |
Group |
Gets a collection of parameters whose values are used to create the |
Insert |
Gets a collection of parameters that are used during the insert operation. (Inherited from QueryableDataSourceView) |
Is |
Gets a value that indicates whether the QueryableDataSourceView object is saving changes to its view state. (Inherited from QueryableDataSourceView) |
Name |
Gets the name of the data source view. (Inherited from DataSourceView) |
Order |
Gets or sets the name or names of the properties that are used during the select operation to sort data. (Inherited from QueryableDataSourceView) |
Order |
Gets a collection of parameters that are used during the select operation to sort data. (Inherited from QueryableDataSourceView) |
Order |
Gets or sets the names of the properties that are used during the select operation to sort grouped data. (Inherited from QueryableDataSourceView) |
Order |
Gets a collection of parameters that are used to create the |
Select |
Gets or sets the properties and calculated values that are included in the retrieved data. (Inherited from QueryableDataSourceView) |
Select |
Gets the collection of parameters that are used during a data-retrieval operation. (Inherited from QueryableDataSourceView) |
Update |
Gets the collection of parameters that are used during an update operation. (Inherited from QueryableDataSourceView) |
Where |
Gets or sets a value that specifies what conditions must be true for a row to be included in the retrieved data. (Inherited from QueryableDataSourceView) |
Where |
Gets a collection of parameters that are used to create a |
Build |
Creates the objects to use for the delete operation. (Inherited from QueryableDataSourceView) |
Build |
Creates the objects to use for the insert operation by using the values to insert and the error message to display if the operation fails. (Inherited from QueryableDataSourceView) |
Build |
Creates a Select query expression by using the select arguments of the data source. (Inherited from QueryableDataSourceView) |
Build |
Creates the objects to use for the update operation by using the specified values. (Inherited from QueryableDataSourceView) |
Can |
Determines whether the specified command can be executed. (Inherited from DataSourceView) |
Clear |
Clears the original values. (Inherited from QueryableDataSourceView) |
Create |
Creates an instance of the data context and entity-set type for the specified operation. |
Create |
Creates an instance of a query context object that contains the evaluated parameter collections. (Inherited from QueryableDataSourceView) |
Delete(IDictionary, IDictionary, Data |
Performs an asynchronous delete operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView) |
Delete(IDictionary, IDictionary) |
Performs a delete operation. (Inherited from QueryableDataSourceView) |
Delete |
Deletes a data object from a table. (Inherited from QueryableDataSourceView) |
Dispose |
Disposes the context after an operation is performed. |
Dispose |
Disposes the specified data context after an operation is performed. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Execute |
Executes the specified command. (Inherited from DataSourceView) |
Execute |
Executes the specified command. (Inherited from DataSourceView) |
Execute |
Performs a delete operation using the specified keys and using row values that are used to detect conflicts. |
Execute |
Performs an insert operation by using the values specified in a collection. |
Execute |
Executes paging by using the QueryContext object from the QueryableDataSource object. (Inherited from QueryableDataSourceView) |
Execute |
Performs a query, sort, or paging operation on the IQueryable<T> object. (Inherited from QueryableDataSourceView) |
Execute |
Executes query expressions by using an IQueryable object and the QueryContext object. (Inherited from QueryableDataSourceView) |
Execute |
Performs a data-retrieval operation. (Inherited from QueryableDataSourceView) |
Execute |
Performs a sorting operation. (Inherited from QueryableDataSourceView) |
Execute |
Performs an update operation by using the specified row-key values, the row values, and the row values that are used to detect conflicts. |
Get |
Retrieves the type of data object to use for the delete, insert, and update operations. |
Get |
Retrieves the entity set as a property, field, or data context. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Retrieves the original values for the specified keys that were stored during the Select operation. (Inherited from QueryableDataSourceView) |
Get |
Retrieves the source of the query context. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Handle |
Called by methods that perform CRUD operations when a CRUD operation fails in the data-object building process. (Inherited from QueryableDataSourceView) |
Insert(IDictionary, Data |
Performs an asynchronous insert operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView) |
Insert(IDictionary) |
Performs an asynchronous insert operation on the data items that the QueryableDataSourceView object represents. (Inherited from QueryableDataSourceView) |
Insert |
Inserts data objects into a QueryableDataSourceView object. (Inherited from QueryableDataSourceView) |
Load |
Restores the previously saved view state for the data source view. (Inherited from QueryableDataSourceView) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
On |
Raises the DataSourceViewChanged event. (Inherited from DataSourceView) |
On |
Raises the QueryCreated event after the QueryableDataSource control has created an IQueryable object. (Inherited from QueryableDataSourceView) |
On |
Calls the RaiseViewChanged() method. (Inherited from QueryableDataSourceView) |
Raise |
Called by the RaiseUnsupportedCapabilitiesError(DataSourceView) method to compare the capabilities requested for an ExecuteSelect(DataSourceSelectArguments) operation against those that the view supports. (Inherited from DataSourceView) |
Raise |
Calls the OnDataSourceViewChanged(EventArgs) method. (Inherited from QueryableDataSourceView) |
Save |
Saves changes to view state for the QueryableDataSourceView object since the time that the page was posted to the server. (Inherited from QueryableDataSourceView) |
Select(Data |
Gets a list of data asynchronously from the underlying data storage. (Inherited from DataSourceView) |
Store |
Stores the original values from the select operation in the control's view state when delete or update operations are enabled. (Inherited from QueryableDataSourceView) |
Store |
Stores the original values from the |
To |
Returns a string that represents the current object. (Inherited from Object) |
Track |
Causes tracking of view-state changes to the server control so that they can be stored in the server control's state. (Inherited from QueryableDataSourceView) |
Update(IDictionary, IDictionary, IDictionary, Data |
Performs an asynchronous update operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView) |
Update(IDictionary, IDictionary, IDictionary) |
Performs an update operation. (Inherited from QueryableDataSourceView) |
Update |
Updates a data object. (Inherited from QueryableDataSourceView) |
Data |
Occurs when the data source view has changed. (Inherited from DataSourceView) |
Query |
Occurs when a query is created. (Inherited from QueryableDataSourceView) |
IState |
When implemented by a class, gets a value that indicates whether a server control is tracking its view-state changes. (Inherited from QueryableDataSourceView) |
IState |
When implemented by a class, loads the server control's previously saved view state for the control. (Inherited from QueryableDataSourceView) |
IState |
When implemented by a class, saves the changes to a server control's view state to an object. (Inherited from QueryableDataSourceView) |
IState |
When implemented by a class, gets a value that indicates whether a server control is tracking its view-state changes. (Inherited from QueryableDataSourceView) |
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: