IQueryExpressionInterceptor.QueryCompilationStarting 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.
Called with the LINQ expression tree for a query before it is compiled.
public virtual System.Linq.Expressions.Expression QueryCompilationStarting (System.Linq.Expressions.Expression queryExpression, Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData eventData);
abstract member QueryCompilationStarting : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData -> System.Linq.Expressions.Expression
override this.QueryCompilationStarting : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData -> System.Linq.Expressions.Expression
Public Overridable Function QueryCompilationStarting (queryExpression As Expression, eventData As QueryExpressionEventData) As Expression
Parameters
- queryExpression
- Expression
The query expression.
- eventData
- QueryExpressionEventData
Contextual information about the query environment.
Returns
The query expression tree to continue with, which may have been changed by the interceptor.
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