DomainManager<TData>.QueryAsync(ODataQueryOptions) Method

Definition

Executes the provided query against a store.

public abstract System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TData>> QueryAsync (System.Web.Http.OData.Query.ODataQueryOptions query);
abstract member QueryAsync : System.Web.Http.OData.Query.ODataQueryOptions -> System.Threading.Tasks.Task<seq<'Data>>
Public MustOverride Function QueryAsync (query As ODataQueryOptions) As Task(Of IEnumerable(Of TData))

Parameters

query
System.Web.Http.OData.Query.ODataQueryOptions

The System.Web.Http.OData.Query.ODataQueryOptions query to execute.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TData>>

An System.Collections.Generic.IEnumerable`1 representing the result of the query.

Implements

Remarks

See also LookupAsync which is the companion method for executing a lookup for a single item.

Applies to