QueryCompilationContext.CreateQueryExecutorExpression<TResult> 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.
[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public virtual System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext,TResult>> CreateQueryExecutorExpression<TResult> (System.Linq.Expressions.Expression query);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
abstract member CreateQueryExecutorExpression : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext, 'Result>>
override this.CreateQueryExecutorExpression : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext, 'Result>>
Public Overridable Function CreateQueryExecutorExpression(Of TResult) (query As Expression) As Expression(Of Func(Of QueryContext, TResult))
Type Parameters
- TResult
The result type of this query.
Parameters
- query
- Expression
The query to generate executor for.
Returns
Returns Func<T,TResult> which can be invoked to get results of this query.
- Attributes
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework