Table of Contents

Method CreateQueryExecutor

Namespace
MongoDB.EntityFrameworkCore.Query
Assembly
MongoDB.EntityFrameworkCore.dll

CreateQueryExecutor<TResult>(Expression)

Creates the query executor func which gives results for this query.

public override Func<QueryContext, TResult> CreateQueryExecutor<TResult>(Expression originalQuery)

Parameters

originalQuery Expression

Returns

Func<QueryContext, TResult>

Returns Func<T, TResult> which can be invoked to get results of this query.

Type Parameters

TResult

The result type of this query.