DomainManager<TData>.QueryAsync(ODataQueryOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Task<IEnumerable<TData>>
An IEnumerable<T> representing the result of the query.
Implements
Remarks
See also LookupAsync which is the companion method for executing a lookup for a single item.