TableController<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.
Provides a helper method for querying a backend store. It deals with any exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.
protected virtual 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>>
override this.QueryAsync : System.Web.Http.OData.Query.ODataQueryOptions -> System.Threading.Tasks.Task<seq<'Data>>
Protected Overridable Function QueryAsync (query As ODataQueryOptions) As Task(Of IEnumerable(Of TData))
Parameters
- query
- System.Web.Http.OData.Query.ODataQueryOptions
Returns
Task<IEnumerable<TData>>
An IQueryable<T> returned by the IDomainManager<TData>.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET