Compartir a través de


CoreLoggerExtensions.QueryExecutionPlanned Método

Definición

Sobrecargas

QueryExecutionPlanned(IDiagnosticsLogger<DbLoggerCategory.Query>, ExpressionPrinter, Expression)

Registros del QueryExecutionPlanned evento.

QueryExecutionPlanned(IDiagnosticsLogger<DbLoggerCategory.Query>, DbContext, ExpressionPrinter, Expression)

Registros del QueryExecutionPlanned evento.

QueryExecutionPlanned(IDiagnosticsLogger<DbLoggerCategory.Query>, ExpressionPrinter, Expression)

Registros del QueryExecutionPlanned evento.

public static void QueryExecutionPlanned (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, Microsoft.EntityFrameworkCore.Query.ExpressionPrinter expressionPrinter, System.Linq.Expressions.Expression queryExecutorExpression);
static member QueryExecutionPlanned : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * Microsoft.EntityFrameworkCore.Query.ExpressionPrinter * System.Linq.Expressions.Expression -> unit
<Extension()>
Public Sub QueryExecutionPlanned (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query), expressionPrinter As ExpressionPrinter, queryExecutorExpression As Expression)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Registrador de diagnóstico que se va a usar.

expressionPrinter
ExpressionPrinter

Se usa para crear una representación legible del árbol de expresión.

queryExecutorExpression
Expression

Árbol de expresión de consulta.

Se aplica a

QueryExecutionPlanned(IDiagnosticsLogger<DbLoggerCategory.Query>, DbContext, ExpressionPrinter, Expression)

Registros del QueryExecutionPlanned evento.

public static void QueryExecutionPlanned (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Query.ExpressionPrinter expressionPrinter, System.Linq.Expressions.Expression queryExecutorExpression);
static member QueryExecutionPlanned : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Query.ExpressionPrinter * System.Linq.Expressions.Expression -> unit
<Extension()>
Public Sub QueryExecutionPlanned (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query), context As DbContext, expressionPrinter As ExpressionPrinter, queryExecutorExpression As Expression)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Registrador de diagnóstico que se va a usar.

context
DbContext

DbContextActual, o null si no se conoce.

expressionPrinter
ExpressionPrinter

Se usa para crear una representación legible del árbol de expresión.

queryExecutorExpression
Expression

Árbol de expresión de consulta.

Se aplica a