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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework