Condividi tramite


CoreLoggerExtensions.QueryExecutionPlanned Metodo

Definizione

Overload

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

Registra l'evento QueryExecutionPlanned .

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

Registra l'evento QueryExecutionPlanned .

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

Origine:
CoreLoggerExtensions.cs
Origine:
CoreLoggerExtensions.cs
Origine:
CoreLoggerExtensions.cs
Origine:
CoreLoggerExtensions.cs

Registra l'evento QueryExecutionPlanned .

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)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Logger di diagnostica da usare.

expressionPrinter
ExpressionPrinter

Usato per creare una rappresentazione leggibile dell'albero delle espressioni.

queryExecutorExpression
Expression

Albero delle espressioni di query.

Si applica a

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

Origine:
CoreLoggerExtensions.cs
Origine:
CoreLoggerExtensions.cs
Origine:
CoreLoggerExtensions.cs

Registra l'evento QueryExecutionPlanned .

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)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Logger di diagnostica da usare.

context
DbContext

Oggetto corrente DbContexto null se non noto.

expressionPrinter
ExpressionPrinter

Usato per creare una rappresentazione leggibile dell'albero delle espressioni.

queryExecutorExpression
Expression

Albero delle espressioni di query.

Si applica a