Поделиться через


RelationalLoggerExtensions.QueryPossibleExceptionWithAggregateOperatorWarning Метод

Определение

Внимание!

Теперь этот API является нерекомендуемым.

Журналы для QueryPossibleExceptionWithAggregateOperatorWarning события.

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>

Используемое средство ведения журнала диагностика.

Атрибуты

Применяется к