Share via


DataServiceQuery<TElement>.DataServiceOrderedQuery Class

Definition

Ordered DataServiceQuery which implements IOrderedQueryable.

public class DataServiceQuery<TElement>.DataServiceOrderedQuery : Microsoft.OData.Client.DataServiceQuery<TElement>, System.Collections.Generic.IEnumerable<TElement>, System.Linq.IOrderedQueryable<TElement>, System.Linq.IQueryable<TElement>
type DataServiceQuery<'Element>.DataServiceOrderedQuery = class
    inherit DataServiceQuery<'Element>
    interface IOrderedQueryable<'Element>
    interface seq<'Element>
    interface IEnumerable
    interface IOrderedQueryable
    interface IQueryable
    interface IQueryable<'Element>
Public Class DataServiceQuery(Of TElement).DataServiceOrderedQuery
Inherits DataServiceQuery(Of TElement)
Implements IEnumerable(Of TElement), IOrderedQueryable(Of TElement), IQueryable(Of TElement)

Type Parameters

TElement
Inheritance
DataServiceQuery<TElement>.DataServiceOrderedQuery
Implements

Properties

Context

Context associated with this query.

(Inherited from DataServiceQuery<TElement>)
ElementType

Returns the type of the object used in the template to create the DataServiceQuery<TElement> instance.

(Inherited from DataServiceQuery<TElement>)
Expression

Represents an expression containing the query to the data service.

(Inherited from DataServiceQuery<TElement>)
IsComposable

Whether this query is composable

(Inherited from DataServiceQuery<TElement>)
Provider

Represents the query provider instance.

(Inherited from DataServiceQuery<TElement>)
RequestUri

Get the URI for the query.

(Inherited from DataServiceQuery<TElement>)

Methods

AddQueryOption(String, Object)

Creates a new DataServiceQuery<TElement> with the query option set in the URI generated by the returned query.

(Inherited from DataServiceQuery<TElement>)
AppendRequestUri(String)

Get a new URI string by adding nextSegment to the original one.

(Inherited from DataServiceQuery<TElement>)
BeginExecute(AsyncCallback, Object)

Starts an asynchronous network operation that executes the query represented by this object instance.

(Inherited from DataServiceQuery<TElement>)
CreateFunctionQuery<T>(String, Boolean, UriOperationParameter[])

Creates a data service query for function which return collection of data.

(Inherited from DataServiceQuery<TElement>)
CreateFunctionQuerySingle<T>(String, Boolean, UriOperationParameter[])

Creates a data service query for function which return single data.

(Inherited from DataServiceQuery<TElement>)
EndExecute(IAsyncResult)

Ends an asynchronous query request to a data service.

(Inherited from DataServiceQuery<TElement>)
Execute()

Executes the query and returns the results as a collection that implements IEnumerable.

(Inherited from DataServiceQuery<TElement>)
ExecuteAsync()

Starts an asynchronous network operation that executes the query represented by this object instance.

(Inherited from DataServiceQuery<TElement>)
ExecuteAsync(CancellationToken)

Starts an asynchronous network operation that executes the query represented by this object instance.

(Inherited from DataServiceQuery<TElement>)
Expand(String)

Expands a query to include entities from a related entity set in the query response.

(Inherited from DataServiceQuery<TElement>)
Expand<TTarget>(Expression<Func<TElement,TTarget>>)

Expands a query to include entities from a related entity set in the query response, where the related entity is of a specific type in a type hierarchy.

(Inherited from DataServiceQuery<TElement>)
GetAllPages()

Get all items by auto iterating all pages, will send the request of first page as default, regardless if it's iterated.

(Inherited from DataServiceQuery<TElement>)
GetAllPagesAsync()

Asynchronously sends a request to get all items by auto iterating all pages

(Inherited from DataServiceQuery<TElement>)
GetAllPagesAsync(CancellationToken)

Asynchronously sends a request to get all items by auto iterating all pages

(Inherited from DataServiceQuery<TElement>)
GetEnumerator()

Executes the query and returns the results as a collection.

(Inherited from DataServiceQuery<TElement>)
GetKeyPath(String)

Gets a new URI string with keys.

(Inherited from DataServiceQuery<TElement>)
GetPath(String)

Get a new URI path string by adding nextSegment to the original one.

(Inherited from DataServiceQuery<TElement>)
IncludeCount()

Requests that the count of all entities in the entity set be returned inline with the query results.

(Inherited from DataServiceQuery<TElement>)
IncludeCount(Boolean)

Requests that the count of all entities in the entity set be returned inline with the query results.

(Inherited from DataServiceQuery<TElement>)
IncludeTotalCount()
Obsolete.

Requests that the count of all entities in the entity set be returned inline with the query results.

(Inherited from DataServiceQuery<TElement>)
IncludeTotalCount(Boolean)
Obsolete.

Requests that the count of all entities in the entity set be returned inline with the query results.

(Inherited from DataServiceQuery<TElement>)
ToString()

Represents the URI of the query to the data service.

(Inherited from DataServiceQuery<TElement>)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Executes the query and returns the results as a collection.

(Inherited from DataServiceQuery<TElement>)

Extension Methods

CountDistinct<TSource,TTarget>(IEnumerable<TSource>, Func<TSource,TTarget>)

Returns the distinct count of elements in a sequence after applying the projection function to each element.

CountDistinct<TSource,TTarget>(IQueryable<TSource>, Expression<Func<TSource,TTarget>>)

Returns the distinct count of elements in a sequence after applying the projection function to each element.

Applies to