This documentation is archived and is not being maintained.
QueryableDataSourceView Methods
Visual Studio 2010
The QueryableDataSourceView type exposes the following members.
| Name | Description | |
|---|---|---|
|
BuildDeleteObject | Creates the objects to use for the delete operation. |
|
BuildInsertObject | 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. |
|
BuildQuery | Creates a Select query expression by using the select arguments of the data source. |
|
BuildUpdateObjects | Creates the objects to use for the update operation by using the specified values. |
|
CanExecute | Determines whether the specified command can be executed. (Inherited from DataSourceView.) |
|
ClearOriginalValues | Clears the original values. |
|
CreateQueryContext | Creates an instance of a query context object that contains the evaluated parameter collections. |
|
Delete(IDictionary, IDictionary) | Performs a delete operation. |
|
Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) | Performs an asynchronous delete operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
|
DeleteObject | Deletes a data object from a table. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
ExecuteCommand(String, IDictionary, IDictionary) | Executes the specified command. (Inherited from DataSourceView.) |
|
ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) | Executes the specified command. (Inherited from DataSourceView.) |
|
ExecuteDelete | Performs a delete operation on data items that the QueryableDataSourceView object represents by using the specified values. (Overrides DataSourceView::ExecuteDelete(IDictionary, IDictionary).) |
|
ExecuteInsert | Performs an insert operation on the data items that the QueryableDataSourceView object represents by using the specified value. (Overrides DataSourceView::ExecuteInsert(IDictionary).) |
|
ExecutePaging | Executes paging by using the QueryContext object from the QueryableDataSource object. |
|
ExecuteQuery | Performs a query, sort, or paging operation on the IQueryable<T> object. |
|
ExecuteQueryExpressions | Executes query expressions by using an IQueryable object and the QueryContext object. |
|
ExecuteSelect | Performs a data-retrieval operation. (Overrides DataSourceView::ExecuteSelect(DataSourceSelectArguments).) |
|
ExecuteSorting | Performs a sorting operation. |
|
ExecuteUpdate | Performs an update operation. (Overrides DataSourceView::ExecuteUpdate(IDictionary, IDictionary, IDictionary).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetOriginalValues | Retrieves the original values for the specified keys that were stored during the Select operation. |
|
GetSource | Gets initial IQueryable object for the data source view based on the query context. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
HandleValidationErrors | Called by methods that perform CRUD operations when a CRUD operation fails in the data-object building process. |
|
Insert(IDictionary) | Performs an asynchronous insert operation on the data items that the QueryableDataSourceView object represents. |
|
Insert(IDictionary, DataSourceViewOperationCallback) | Performs an asynchronous insert operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
|
InsertObject | Inserts data objects into a QueryableDataSourceView object. |
|
LoadViewState | Restores the previously saved view state for the data source view. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnDataSourceViewChanged | Raises the DataSourceViewChanged event. (Inherited from DataSourceView.) |
|
OnQueryCreated | Raises the QueryCreated event after the QueryableDataSource control has created an IQueryable object. |
|
OnQueryParametersChanged | Calls the RaiseViewChanged method. |
|
RaiseUnsupportedCapabilityError | Called by the RaiseUnsupportedCapabilitiesError method to compare the capabilities requested for an ExecuteSelect operation against those that the view supports. (Inherited from DataSourceView.) |
|
RaiseViewChanged | Calls the OnDataSourceViewChanged method. |
|
SaveViewState | Saves changes to view state for the QueryableDataSourceView object since the time that the page was posted to the server. |
|
Select | Gets a list of data asynchronously from the underlying data storage. (Inherited from DataSourceView.) |
|
StoreOriginalValues(IList) | Stores the original values from the Select operation in the control's view state. |
|
StoreOriginalValues(IList, Func<PropertyDescriptor, Boolean>) | Stores the original values from the select operation in the control's view state when delete or update operations are enabled. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TrackViewState | Causes tracking of view-state changes to the server control so that they can be stored in the server control's state. |
|
Update(IDictionary, IDictionary, IDictionary) | Performs an update operation. |
|
Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) | Performs an asynchronous update operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
|
UpdateObject | Updates a data object. |
| Name | Description | |
|---|---|---|
|
IStateManager::LoadViewState | When implemented by a class, loads the server control's previously saved view state for the control. |
|
IStateManager::SaveViewState | When implemented by a class, saves the changes to a server control's view state to an object. |
|
IStateManager::TrackViewState | When implemented by a class, gets a value that indicates whether a server control is tracking its view-state changes. |
Show: