EntityQueryModelVisitor.CreateAsyncQueryExecutor<TResult> 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>>
Public Overridable Function CreateAsyncQueryExecutor(Of TResult) (queryModel As QueryModel) As Func(Of QueryContext, IAsyncEnumerable(Of TResult))

Type Parameters

TResult

The type of results that the query returns.

Parameters

queryModel
Remotion.Linq.QueryModel

The query.

Returns

An action that asynchronously returns the results of the query.

Applies to