LinqDataSourceView Methods

 

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

NameDescription
System_CAPS_protmethodBuildDeleteObject(IDictionary, IDictionary, IDictionary<String, Exception>)

Creates the objects to use for the delete operation.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodBuildInsertObject(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.)

System_CAPS_protmethodBuildQuery(DataSourceSelectArguments)

Creates a Select query expression by using the select arguments of the data source.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodBuildUpdateObjects(IDictionary, IDictionary, IDictionary, IDictionary<String, Exception>)

Creates the objects to use for the update operation by using the specified values.(Inherited from QueryableDataSourceView.)

System_CAPS_pubmethodCanExecute(String)

Determines whether the specified command can be executed.(Inherited from DataSourceView.)

System_CAPS_protmethodClearOriginalValues()

Clears the original values.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodCreateContext(DataSourceOperation)

Creates an instance of the data context type using the specified data source operation.(Overrides ContextDataSourceView.CreateContext(DataSourceOperation).)

System_CAPS_protmethodCreateContext(Type)

Creates an instance of the data context type.

System_CAPS_protmethodCreateQueryContext(DataSourceSelectArguments)

Creates an instance of a query context object that contains the evaluated parameter collections.(Inherited from QueryableDataSourceView.)

System_CAPS_pubmethodDelete(IDictionary, IDictionary)

Performs a delete operation.(Inherited from QueryableDataSourceView.)

System_CAPS_pubmethodDelete(IDictionary, IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous delete operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.)

System_CAPS_protmethodDeleteDataObject(Object, Object, Object)

Deletes a data object from a table.

System_CAPS_protmethodDeleteObject(Object)

Deletes a data object from a table.(Overrides QueryableDataSourceView.DeleteObject(Object).)

System_CAPS_protmethodDisposeContext()

Disposes the context after an operation is performed.(Inherited from ContextDataSourceView.)

System_CAPS_protmethodDisposeContext(Object)

Disposes the data context.(Overrides ContextDataSourceView.DisposeContext(Object).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodExecuteCommand(String, IDictionary, IDictionary)

Executes the specified command.(Inherited from DataSourceView.)

System_CAPS_pubmethodExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

Executes the specified command.(Inherited from DataSourceView.)

System_CAPS_protmethodExecuteDelete(IDictionary, IDictionary)

Performs a delete operation by using the specified keys and old values.(Overrides ContextDataSourceView.ExecuteDelete(IDictionary, IDictionary).)

System_CAPS_protmethodExecuteInsert(IDictionary)

Performs an insert operation by using the values specified in a collection.(Overrides ContextDataSourceView.ExecuteInsert(IDictionary).)

System_CAPS_protmethodExecutePaging(IQueryable, QueryContext)

Executes paging by using the QueryContext object from the QueryableDataSource object.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodExecuteQuery(IQueryable, QueryContext)

Performs a query, sort, or paging operation on the IQueryable<T> object.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodExecuteQueryExpressions(IQueryable, QueryContext)

Executes query expressions by using an IQueryable object and the QueryContext object.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodExecuteSelect(DataSourceSelectArguments)

Performs a data retrieval operation.(Overrides QueryableDataSourceView.ExecuteSelect(DataSourceSelectArguments).)

System_CAPS_protmethodExecuteSorting(IQueryable, QueryContext)

Performs a sorting operation.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodExecuteUpdate(IDictionary, IDictionary, IDictionary)
System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodGetDataObjectType(Type)

Retrieves the type of data object to use for the delete, insert, and update operations.(Inherited from ContextDataSourceView.)

System_CAPS_protmethodGetEntitySetType()

Retrieves the entity set as a property, field, or data context.(Inherited from ContextDataSourceView.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetOriginalValues(IDictionary)

Retrieves the original values for the specified keys that were stored during the Select operation.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodGetSource(QueryContext)

Returns the data source to apply a query to.(Overrides ContextDataSourceView.GetSource(QueryContext).)

System_CAPS_protmethodGetTableMemberInfo(Type)

Retrieves metadata about the data collection.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodHandleValidationErrors(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).)

System_CAPS_pubmethodInsert(IDictionary)

Performs an asynchronous insert operation on the data items that the QueryableDataSourceView object represents.(Inherited from QueryableDataSourceView.)

System_CAPS_pubmethodInsert(IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous insert operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.)

System_CAPS_protmethodInsertDataObject(Object, Object, Object)

Inserts a data object into a table.

System_CAPS_protmethodInsertObject(Object)

Inserts a data object into a LinqDataSourceView object. (Overrides QueryableDataSourceView.InsertObject(Object).)

System_CAPS_protmethodLoadViewState(Object)

Restores the previously saved view state for the data source view.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnContextCreated(LinqDataSourceStatusEventArgs)

Raises the ContextCreated event

System_CAPS_protmethodOnContextCreating(LinqDataSourceContextEventArgs)

Raises the ContextCreating event.

System_CAPS_protmethodOnContextDisposing(LinqDataSourceDisposeEventArgs)

Raises the ContextDisposing event.

System_CAPS_protmethodOnDataSourceViewChanged(EventArgs)

Raises the DataSourceViewChanged event.(Inherited from DataSourceView.)

System_CAPS_protmethodOnDeleted(LinqDataSourceStatusEventArgs)

Raises the Deleted event.

System_CAPS_protmethodOnDeleting(LinqDataSourceDeleteEventArgs)

Raises the Deleting event.

System_CAPS_protmethodOnException(DynamicValidatorEventArgs)

Raises the Exception event when a data operation fails.

System_CAPS_protmethodOnInserted(LinqDataSourceStatusEventArgs)

Raises the Inserted event after the LinqDataSource control has completed an insert operation.

System_CAPS_protmethodOnInserting(LinqDataSourceInsertEventArgs)

Raises the Inserting event.

System_CAPS_protmethodOnQueryCreated(QueryCreatedEventArgs)

Raises the QueryCreated event after the QueryableDataSource control has created an IQueryable object.(Inherited from QueryableDataSourceView.)

System_CAPS_protmethodOnQueryParametersChanged(Object, EventArgs)

Calls the RaiseViewChanged method. (Inherited from QueryableDataSourceView.)

System_CAPS_protmethodOnSelected(LinqDataSourceStatusEventArgs)

Raises the Selected event after the LinqDataSource control has completed a data retrieval operation.

System_CAPS_protmethodOnSelecting(LinqDataSourceSelectEventArgs)

Raises the Selecting event before the LinqDataSource control performs a data-retrieval operation.

System_CAPS_protmethodOnUpdated(LinqDataSourceStatusEventArgs)

Raises the Updated event after the LinqDataSource control has completed an update operation.

System_CAPS_protmethodOnUpdating(LinqDataSourceUpdateEventArgs)

Raises the Updating event before the LinqDataSource control performs an update operation.

System_CAPS_protmethodRaiseUnsupportedCapabilityError(DataSourceCapabilities)

Called by the RaiseUnsupportedCapabilitiesError method to compare the capabilities requested for an ExecuteSelect operation against those that the view supports.(Inherited from DataSourceView.)

System_CAPS_pubmethodRaiseViewChanged()

Calls the OnDataSourceViewChanged method. (Inherited from QueryableDataSourceView.)

System_CAPS_protmethodResetDataObject(Object, Object)

Resets the object that contains data to its original state.

System_CAPS_protmethodSaveViewState()

Saves changes to view state for the QueryableDataSourceView object since the time that the page was posted to the server.(Inherited from QueryableDataSourceView.)

System_CAPS_pubmethodSelect(DataSourceSelectArguments)

Retrieves data from the data source.

System_CAPS_pubmethodSelect(DataSourceSelectArguments, DataSourceViewSelectCallback)

Gets a list of data asynchronously from the underlying data storage.(Inherited from DataSourceView.)

System_CAPS_protmethodStoreOriginalValues(IList)

Stores the original values from the Select operation in the control's view state.(Overrides QueryableDataSourceView.StoreOriginalValues(IList).)

System_CAPS_protmethodStoreOriginalValues(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.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodTrackViewState()

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.)

System_CAPS_pubmethodUpdate(IDictionary, IDictionary, IDictionary)

Performs an update operation.(Inherited from QueryableDataSourceView.)

System_CAPS_pubmethodUpdate(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous update operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.)

System_CAPS_protmethodUpdateDataObject(Object, Object, Object, Object)

Updates a data object.

System_CAPS_protmethodUpdateObject(Object, Object)
System_CAPS_protmethodValidateContextType(Type, Boolean)

Checks whether the data context class derives from DataContext.

System_CAPS_protmethodValidateDeleteSupported(IDictionary, IDictionary)

Validates that the conditions exist to perform a delete operation.

System_CAPS_protmethodValidateEditSupported()

Validates that the conditions exist to perform an edit operation.

System_CAPS_protmethodValidateInsertSupported(IDictionary)

Validates that the conditions exist to perform an insert operation.

System_CAPS_protmethodValidateTableType(Type, Boolean)

Checks whether the type of the class that represents the data table is a generic type.

System_CAPS_protmethodValidateUpdateSupported(IDictionary, IDictionary, IDictionary)

Validates that the conditions exist to perform an update operation.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.LoadViewState(Object)

When implemented by a class, loads the server control's previously saved view state for the control.(Inherited from QueryableDataSourceView.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.SaveViewState()

When implemented by a class, saves the changes to a server control's view state to an object. (Inherited from QueryableDataSourceView.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.TrackViewState()

When implemented by a class, gets a value that indicates whether a server control is tracking its view-state changes.(Inherited from QueryableDataSourceView.)

Return to top
Show: