Udostępnij za pośrednictwem


IDomainManager<TData>.QueryAsync(ODataQueryOptions) Method

Definition

Executes the provided query against a store.

public 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 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

Task<IEnumerable<TData>>

An IEnumerable<T> representing the result of the query.

Remarks

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

Applies to