QueryCompilationContext.CreateQueryExecutor<TResult>(Expression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates the query executor func which gives results for this query.
public virtual Func<Microsoft.EntityFrameworkCore.Query.QueryContext,TResult> CreateQueryExecutor<TResult> (System.Linq.Expressions.Expression query);
abstract member CreateQueryExecutor : System.Linq.Expressions.Expression -> Func<Microsoft.EntityFrameworkCore.Query.QueryContext, 'Result>
override this.CreateQueryExecutor : System.Linq.Expressions.Expression -> Func<Microsoft.EntityFrameworkCore.Query.QueryContext, 'Result>
Public Overridable Function CreateQueryExecutor(Of TResult) (query As Expression) As Func(Of QueryContext, TResult)
Type Parameters
- TResult
The result type of this query.
Parameters
- query
- Expression
The query to generate executor for.
Returns
Func<QueryContext,TResult>
Returns Func<T,TResult> which can be invoked to get results of this query.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework