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>

要使用的诊断记录器。

属性

适用于