共用方式為


CoreLoggerExtensions.QueryExecutionPlanned 方法

定義

多載

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

QueryExecutionPlanned事件的記錄。

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

QueryExecutionPlanned事件的記錄。

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

來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs

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)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

要使用的診斷記錄器。

expressionPrinter
ExpressionPrinter

用來建立人類看得懂的運算式樹狀結構標記法。

queryExecutorExpression
Expression

查詢運算式樹狀結構。

適用於

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

來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs

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)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

要使用的診斷記錄器。

context
DbContext

目前的 DbContext ,如果不知道,則 null 為 。

expressionPrinter
ExpressionPrinter

用來建立人類看得懂的運算式樹狀結構標記法。

queryExecutorExpression
Expression

查詢運算式樹狀結構。

適用於