EntityQueryModelVisitor.CreateAsyncQueryExecutor(QueryModel) EntityQueryModelVisitor.CreateAsyncQueryExecutor(QueryModel) Method

Definition

Creates an action to asynchronously execute this query.

public virtual Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Collections.Generic.IAsyncEnumerable<TResult>> CreateAsyncQueryExecutor<TResult> (Remotion.Linq.QueryModel queryModel);
abstract member CreateAsyncQueryExecutor : Remotion.Linq.QueryModel -> Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Collections.Generic.IAsyncEnumerable<'Result>>
override this.CreateAsyncQueryExecutor : Remotion.Linq.QueryModel -> Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Collections.Generic.IAsyncEnumerable<'Result>>

Type Parameters

TResult

The type of results that the query returns.

Parameters

queryModel
Remotion.Linq.QueryModel Remotion.Linq.QueryModel

The query.

Returns

Func<QueryContext,System.Collections.Generic.IAsyncEnumerable<TResult>>

An action that asynchronously returns the results of the query.

Applies to