Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.QuerySyntax
Summary
Represents a service that executes a query.Remarks
Data provider implemented IQueryExecutor should only handle queries against the specific provider, and delegates all other queries to inner IQueryExecutor.Methods
ExecuteExpressionAsync Abstract
Asynchronously executes a singleton query and produces a query result.Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task<Microsoft.Restier.Core.Query.QueryResult>
A task that represents the asynchronous
operation whose result is a query result.
Type Parameters
TResult- The type of the singleton query result.
ExecuteQueryAsync Abstract
Asynchronously executes a query and produces a query result.Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task<Microsoft.Restier.Core.Query.QueryResult>
A task that represents the asynchronous
operation whose result is a query result.
Type Parameters
TElement- The type of the elements in the query.