共用方式為


RelationalLoggerExtensions.QueryPossibleExceptionWithAggregateOperatorWarning 方法

定義

警告

此 API 現已淘汰。

public static void QueryPossibleExceptionWithAggregateOperatorWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics);
[System.Obsolete]
public static void QueryPossibleExceptionWithAggregateOperatorWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics);
static member QueryPossibleExceptionWithAggregateOperatorWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> unit
[<System.Obsolete>]
static member QueryPossibleExceptionWithAggregateOperatorWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> unit
<Extension()>
Public Sub QueryPossibleExceptionWithAggregateOperatorWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query))

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

要使用的診斷記錄器。

屬性

適用於