DocumentQueryable.AsDocumentQuery
Method
Definition
Converts an IQueryable to IDocumentQuery which supports pagination and asynchronous execution in the Azure DocumentDB database service.
public static Microsoft.Azure.Documents.Linq.IDocumentQuery<T> AsDocumentQuery<T> (this System.Linq.IQueryable<T> query);
Type Parameters
- T
the type of object to query.
Parameters
- query
- IQueryable<T>
the IQueryable{T} to be converted.
Returns
An IDocumentQuery{T} that can evaluate the query.