QueryableDataSourceView Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Supports the QueryableDataSource control and provides an interface for data-bound controls to perform LINQ data operations.

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

System::Object
  System.Web.UI::DataSourceView
    System.Web.UI.WebControls::QueryableDataSourceView
      System.Web.UI.WebControls::ContextDataSourceView

public ref class QueryableDataSourceView abstract : DataSourceView, 
	IStateManager

NameDescription
System_CAPS_protmethodQueryableDataSourceView(DataSourceControl^, String^, HttpContext^)

Initializes a new instance of the QueryableDataSourceView class.

NameDescription
System_CAPS_pubpropertyAutoGenerateOrderByClause

Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control creates a dynamic an OrderBy clause.

System_CAPS_pubpropertyAutoGenerateWhereClause

Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control creates a dynamic Where clause.

System_CAPS_pubpropertyAutoPage

Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports paging by default.

System_CAPS_pubpropertyAutoSort

Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports sorting by default.

System_CAPS_pubpropertyCanDelete

Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports delete operations.(Overrides DataSourceView::CanDelete.)

System_CAPS_pubpropertyCanInsert

Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports insert operations.(Overrides DataSourceView::CanInsert.)

System_CAPS_pubpropertyCanPage

Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports paging.(Overrides DataSourceView::CanPage.)

System_CAPS_pubpropertyCanRetrieveTotalRowCount

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.(Overrides DataSourceView::CanRetrieveTotalRowCount.)

System_CAPS_pubpropertyCanSort

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.(Overrides DataSourceView::CanSort.)

System_CAPS_pubpropertyCanUpdate

Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports update operations.(Overrides DataSourceView::CanUpdate.)

System_CAPS_pubpropertyDeleteParameters

Gets the collection that contains the parameters that are used during a delete operation.

System_CAPS_protpropertyEntityType

Gets the type of the data object to use for CUD operations.

System_CAPS_protpropertyEvents

Gets a list of event-handler delegates for the data source view.(Inherited from DataSourceView.)

System_CAPS_pubpropertyGroupBy

Gets or sets the name or names of the properties to use during the select operation for grouping data.

System_CAPS_pubpropertyGroupByParameters

Gets a collection of parameters whose values are used to create the GroupBy clause during the select operation.

System_CAPS_pubpropertyInsertParameters

Gets a collection of parameters that are used during the insert operation.

System_CAPS_protpropertyIsTrackingViewState

Gets a value that indicates whether the QueryableDataSourceView object is saving changes to its view state.

System_CAPS_pubpropertyName

Gets the name of the data source view.(Inherited from DataSourceView.)

System_CAPS_pubpropertyOrderBy

Gets or sets the name or names of the properties that are used during the select operation to sort data.

System_CAPS_pubpropertyOrderByParameters

Gets a collection of parameters that are used during the select operation to sort data.

System_CAPS_pubpropertyOrderGroupsBy

Gets or sets the names of the properties that are used during the select operation to sort grouped data.

System_CAPS_pubpropertyOrderGroupsByParameters

Gets a collection of parameters that are used to create the OrderGroupsBy clause.

System_CAPS_pubpropertySelectNew

Gets or sets the properties and calculated values that are included in the retrieved data.

System_CAPS_pubpropertySelectNewParameters

Gets the collection of parameters that are used during a data-retrieval operation.

System_CAPS_pubpropertyUpdateParameters

Gets the collection of parameters that are used during an update operation.

System_CAPS_pubpropertyWhere

Gets or sets a value that specifies what conditions must be true for a row to be included in the retrieved data.

System_CAPS_pubpropertyWhereParameters

Gets a collection of parameters that are used to create a Where clause.

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

Creates the objects to use for the delete operation.

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.

System_CAPS_protmethodBuildQuery(DataSourceSelectArguments^)

Creates a Select query expression by using the select arguments of the data source.

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

Creates the objects to use for the update operation by using the specified values.

System_CAPS_pubmethodCanExecute(String^)

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

System_CAPS_protmethodClearOriginalValues()

Clears the original values.

System_CAPS_protmethodCreateQueryContext(DataSourceSelectArguments^)

Creates an instance of a query context object that contains the evaluated parameter collections.

System_CAPS_pubmethodDelete(IDictionary^, IDictionary^)

Performs a delete operation.

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_protmethodDeleteObject(Object^)

Deletes a data object from a table.

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 on data items that the QueryableDataSourceView object represents by using the specified values.(Overrides DataSourceView::ExecuteDelete(IDictionary^, IDictionary^).)

System_CAPS_protmethodExecuteInsert(IDictionary^)

Performs an insert operation on the data items that the QueryableDataSourceView object represents by using the specified value.(Overrides DataSourceView::ExecuteInsert(IDictionary^).)

System_CAPS_protmethodExecutePaging(IQueryable^, QueryContext^)

Executes paging by using the QueryContext object from the QueryableDataSource object.

System_CAPS_protmethodExecuteQuery(IQueryable^, QueryContext^)

Performs a query, sort, or paging operation on the IQueryable<T> object.

System_CAPS_protmethodExecuteQueryExpressions(IQueryable^, QueryContext^)

Executes query expressions by using an IQueryable object and the QueryContext object.

System_CAPS_protmethodExecuteSelect(DataSourceSelectArguments^)

Performs a data-retrieval operation.(Overrides DataSourceView::ExecuteSelect(DataSourceSelectArguments^).)

System_CAPS_protmethodExecuteSorting(IQueryable^, QueryContext^)

Performs a sorting operation.

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

System_CAPS_protmethodGetSource(QueryContext^)

Gets initial IQueryable object for the data source view based on the query context.

System_CAPS_pubmethodGetType()

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

System_CAPS_protmethodHandleValidationErrors(IDictionary<String^, Exception^>^, DataSourceOperation)

Called by methods that perform CRUD operations when a CRUD operation fails in the data-object building process.

System_CAPS_pubmethodInsert(IDictionary^)

Performs an asynchronous insert operation on the data items that the QueryableDataSourceView object represents.

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_protmethodInsertObject(Object^)

Inserts data objects into a QueryableDataSourceView object.

System_CAPS_protmethodLoadViewState(Object^)

Restores the previously saved view state for the data source view.

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_protmethodOnDataSourceViewChanged(EventArgs^)

Raises the DataSourceViewChanged event.(Inherited from DataSourceView.)

System_CAPS_protmethodOnQueryCreated(QueryCreatedEventArgs^)

Raises the QueryCreated event after the QueryableDataSource control has created an IQueryable object.

System_CAPS_protmethodOnQueryParametersChanged(Object^, EventArgs^)

Calls the RaiseViewChanged method.

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.

System_CAPS_protmethodSaveViewState()

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

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.

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.

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.

System_CAPS_pubmethodUpdate(IDictionary^, IDictionary^, IDictionary^)

Performs an update operation.

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_protmethodUpdateObject(Object^, Object^)

Updates a data object.

NameDescription
System_CAPS_protfieldSystem_CAPS_staticEventSelected

Specifies whether the event that causes the data-retrieval operation to complete has occurred.

System_CAPS_protfieldSystem_CAPS_staticEventSelecting

Specifies whether the event that occurs before a data-retrieval operation has occurred.

NameDescription
System_CAPS_pubeventDataSourceViewChanged

Occurs when the data source view has changed.(Inherited from DataSourceView.)

System_CAPS_pubeventQueryCreated

Occurs when a query is created.

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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager::SaveViewState()

When implemented by a class, saves the changes to a server control's view state to an object.

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.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIStateManager::IsTrackingViewState

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

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: