Interface IClientQueryExecutor
Interface for client query executor.
Namespace: Kephas.Data.Client.Queries
Assembly: Kephas.Data.Client.dll
Syntax
[SingletonAppServiceContract]
public interface IClientQueryExecutor
Methods
| Improve this Doc View SourceExecuteQueryAsync(ClientQuery, IClientQueryExecutionContext, CancellationToken)
Executes the query asynchronously.
Declaration
Task<IList<object>> ExecuteQueryAsync(ClientQuery query, IClientQueryExecutionContext executionContext = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
ClientQuery | query | The query. |
IClientQueryExecutionContext | executionContext | Context for the execution (optional). |
System.Threading.CancellationToken | cancellationToken | The cancellation token (optional). |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IList<System.Object>> | A list of client entities. |