Show / Hide Table of Contents

Interface IAsyncQueryProvider

Contract for asynchronous query providers.

Inherited Members
System.Linq.IQueryProvider.CreateQuery(System.Linq.Expressions.Expression)
System.Linq.IQueryProvider.CreateQuery<TElement>(System.Linq.Expressions.Expression)
System.Linq.IQueryProvider.Execute(System.Linq.Expressions.Expression)
System.Linq.IQueryProvider.Execute<TResult>(System.Linq.Expressions.Expression)
Namespace: Kephas.Data.Linq
Assembly: Kephas.Data.dll
Syntax
public interface IAsyncQueryProvider : IQueryProvider

Methods

| Improve this Doc View Source

ExecuteAsync(Expression, CancellationToken)

Asynchronously executes the query represented by a specified expression tree.

Declaration
Task<object> ExecuteAsync(Expression expression, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Linq.Expressions.Expression expression

An expression tree that represents a LINQ query.

System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken to observe while waiting for the task to complete.

Returns
Type Description
System.Threading.Tasks.Task<System.Object>

A task that represents the asynchronous operation. The task result contains the value that results from executing the specified query.

| Improve this Doc View Source

ExecuteAsync<TResult>(Expression, CancellationToken)

Asynchronously executes the strongly-typed query represented by a specified expression tree.

Declaration
Task<TResult> ExecuteAsync<TResult>(Expression expression, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Linq.Expressions.Expression expression

An expression tree that represents a LINQ query.

System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken to observe while waiting for the task to complete.

Returns
Type Description
System.Threading.Tasks.Task<TResult>

A task that represents the asynchronous operation. The task result contains the value that results from executing the specified query.

Type Parameters
Name Description
TResult

The type of the value that results from executing the query.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX