LinqDataSourceView Methods
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
| Name | Description | |
|---|---|---|
![]() | BuildDeleteObject(IDictionary^, IDictionary^, IDictionary<String^, Exception^>^) | Creates the objects to use for the delete operation.(Inherited from QueryableDataSourceView.) |
![]() | BuildInsertObject(IDictionary^, IDictionary<String^, Exception^>^) | 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.) |
![]() | BuildQuery(DataSourceSelectArguments^) | Creates a Select query expression by using the select arguments of the data source.(Inherited from QueryableDataSourceView.) |
![]() | BuildUpdateObjects(IDictionary^, IDictionary^, IDictionary^, IDictionary<String^, Exception^>^) | Creates the objects to use for the update operation by using the specified values.(Inherited from QueryableDataSourceView.) |
![]() | CanExecute(String^) | Determines whether the specified command can be executed.(Inherited from DataSourceView.) |
![]() | ClearOriginalValues() | Clears the original values.(Inherited from QueryableDataSourceView.) |
![]() | CreateContext(DataSourceOperation) | Creates an instance of the data context type using the specified data source operation.(Overrides ContextDataSourceView::CreateContext(DataSourceOperation).) |
![]() | CreateContext(Type^) | Creates an instance of the data context type. |
![]() | CreateQueryContext(DataSourceSelectArguments^) | Creates an instance of a query context object that contains the evaluated parameter collections.(Inherited from QueryableDataSourceView.) |
![]() | Delete(IDictionary^, IDictionary^) | Performs a delete operation.(Inherited from QueryableDataSourceView.) |
![]() | Delete(IDictionary^, IDictionary^, DataSourceViewOperationCallback^) | Performs an asynchronous delete operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.) |
![]() | DeleteDataObject(Object^, Object^, Object^) | Deletes a data object from a table. |
![]() | DeleteObject(Object^) | Deletes a data object from a table.(Overrides QueryableDataSourceView::DeleteObject(Object^).) |
![]() | DisposeContext() | Disposes the context after an operation is performed.(Inherited from ContextDataSourceView.) |
![]() | DisposeContext(Object^) | Disposes the data context.(Overrides ContextDataSourceView::DisposeContext(Object^).) |
![]() | 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(IDictionary^, IDictionary^) | Performs a delete operation by using the specified keys and old values.(Overrides ContextDataSourceView::ExecuteDelete(IDictionary^, IDictionary^).) |
![]() | ExecuteInsert(IDictionary^) | Performs an insert operation by using the values specified in a collection.(Overrides ContextDataSourceView::ExecuteInsert(IDictionary^).) |
![]() | ExecutePaging(IQueryable^, QueryContext^) | Executes paging by using the QueryContext object from the QueryableDataSource object.(Inherited from QueryableDataSourceView.) |
![]() | ExecuteQuery(IQueryable^, QueryContext^) | Performs a query, sort, or paging operation on the IQueryable<T> object.(Inherited from QueryableDataSourceView.) |
![]() | ExecuteQueryExpressions(IQueryable^, QueryContext^) | Executes query expressions by using an IQueryable object and the QueryContext object.(Inherited from QueryableDataSourceView.) |
![]() | ExecuteSelect(DataSourceSelectArguments^) | Performs a data retrieval operation.(Overrides QueryableDataSourceView::ExecuteSelect(DataSourceSelectArguments^).) |
![]() | ExecuteSorting(IQueryable^, QueryContext^) | Performs a sorting operation.(Inherited from QueryableDataSourceView.) |
![]() | ExecuteUpdate(IDictionary^, IDictionary^, IDictionary^) | Performs an update operation.(Overrides ContextDataSourceView::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.) |
![]() | GetDataObjectType(Type^) | Retrieves the type of data object to use for the delete, insert, and update operations.(Inherited from ContextDataSourceView.) |
![]() | GetEntitySetType() | Retrieves the entity set as a property, field, or data context.(Inherited from ContextDataSourceView.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetOriginalValues(IDictionary^) | Retrieves the original values for the specified keys that were stored during the Select operation.(Inherited from QueryableDataSourceView.) |
![]() | GetSource(QueryContext^) | Returns the data source to apply a query to.(Overrides ContextDataSourceView::GetSource(QueryContext^).) |
![]() | GetTableMemberInfo(Type^) | Retrieves metadata about the data collection. |
![]() | GetType() | |
![]() | HandleValidationErrors(IDictionary<String^, Exception^>^, DataSourceOperation) | Handles any exceptions that occur when a data operation fails while a data object is being created.(Overrides QueryableDataSourceView::HandleValidationErrors(IDictionary<String^, Exception^>^, DataSourceOperation).) |
![]() | Insert(IDictionary^) | Performs an asynchronous insert operation on the data items that the QueryableDataSourceView object represents.(Inherited from QueryableDataSourceView.) |
![]() | Insert(IDictionary^, DataSourceViewOperationCallback^) | Performs an asynchronous insert operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.) |
![]() | InsertDataObject(Object^, Object^, Object^) | Inserts a data object into a table. |
![]() | InsertObject(Object^) | Inserts a data object into a LinqDataSourceView object. (Overrides QueryableDataSourceView::InsertObject(Object^).) |
![]() | LoadViewState(Object^) | Restores the previously saved view state for the data source view.(Inherited from QueryableDataSourceView.) |
![]() | MemberwiseClone() | |
![]() | OnContextCreated(LinqDataSourceStatusEventArgs^) | Raises the ContextCreated event |
![]() | OnContextCreating(LinqDataSourceContextEventArgs^) | Raises the ContextCreating event. |
![]() | OnContextDisposing(LinqDataSourceDisposeEventArgs^) | Raises the ContextDisposing event. |
![]() | OnDataSourceViewChanged(EventArgs^) | Raises the DataSourceViewChanged event.(Inherited from DataSourceView.) |
![]() | OnDeleted(LinqDataSourceStatusEventArgs^) | Raises the Deleted event. |
![]() | OnDeleting(LinqDataSourceDeleteEventArgs^) | Raises the Deleting event. |
![]() | OnException(DynamicValidatorEventArgs^) | Raises the Exception event when a data operation fails. |
![]() | OnInserted(LinqDataSourceStatusEventArgs^) | Raises the Inserted event after the LinqDataSource control has completed an insert operation. |
![]() | OnInserting(LinqDataSourceInsertEventArgs^) | Raises the Inserting event. |
![]() | OnQueryCreated(QueryCreatedEventArgs^) | Raises the QueryCreated event after the QueryableDataSource control has created an IQueryable object.(Inherited from QueryableDataSourceView.) |
![]() | OnQueryParametersChanged(Object^, EventArgs^) | Calls the RaiseViewChanged method. (Inherited from QueryableDataSourceView.) |
![]() | OnSelected(LinqDataSourceStatusEventArgs^) | Raises the Selected event after the LinqDataSource control has completed a data retrieval operation. |
![]() | OnSelecting(LinqDataSourceSelectEventArgs^) | Raises the Selecting event before the LinqDataSource control performs a data-retrieval operation. |
![]() | OnUpdated(LinqDataSourceStatusEventArgs^) | Raises the Updated event after the LinqDataSource control has completed an update operation. |
![]() | OnUpdating(LinqDataSourceUpdateEventArgs^) | Raises the Updating event before the LinqDataSource control performs an update operation. |
![]() | RaiseUnsupportedCapabilityError(DataSourceCapabilities) | 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. (Inherited from QueryableDataSourceView.) |
![]() | ResetDataObject(Object^, Object^) | Resets the object that contains data to its original state. |
![]() | SaveViewState() | Saves changes to view state for the QueryableDataSourceView object since the time that the page was posted to the server.(Inherited from QueryableDataSourceView.) |
![]() | Select(DataSourceSelectArguments^) | Retrieves data from the data source. |
![]() | Select(DataSourceSelectArguments^, DataSourceViewSelectCallback^) | 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.(Overrides QueryableDataSourceView::StoreOriginalValues(IList^).) |
![]() | 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.(Inherited from QueryableDataSourceView.) |
![]() | 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.(Inherited from QueryableDataSourceView.) |
![]() | Update(IDictionary^, IDictionary^, IDictionary^) | Performs an update operation.(Inherited from QueryableDataSourceView.) |
![]() | Update(IDictionary^, IDictionary^, IDictionary^, DataSourceViewOperationCallback^) | Performs an asynchronous update operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.) |
![]() | UpdateDataObject(Object^, Object^, Object^, Object^) | Updates a data object. |
![]() | UpdateObject(Object^, Object^) | Updates a data object.(Overrides QueryableDataSourceView::UpdateObject(Object^, Object^).) |
![]() | ValidateContextType(Type^, Boolean) | Checks whether the data context class derives from DataContext. |
![]() | ValidateDeleteSupported(IDictionary^, IDictionary^) | Validates that the conditions exist to perform a delete operation. |
![]() | ValidateEditSupported() | Validates that the conditions exist to perform an edit operation. |
![]() | ValidateInsertSupported(IDictionary^) | Validates that the conditions exist to perform an insert operation. |
![]() | ValidateTableType(Type^, Boolean) | Checks whether the type of the class that represents the data table is a generic type. |
![]() | ValidateUpdateSupported(IDictionary^, IDictionary^, IDictionary^) | Validates that the conditions exist to perform an update operation. |
| Name | Description | |
|---|---|---|
![]() ![]() | IStateManager::LoadViewState(Object^) | When implemented by a class, loads the server control's previously saved view state for the control.(Inherited from QueryableDataSourceView.) |
![]() ![]() | IStateManager::SaveViewState() | When implemented by a class, saves the changes to a server control's view state to an object. (Inherited from QueryableDataSourceView.) |
![]() ![]() | IStateManager::TrackViewState() | When implemented by a class, gets a value that indicates whether a server control is tracking its view-state changes.(Inherited from QueryableDataSourceView.) |



