RelationalLoggerExtensions.QueryPossibleExceptionWithAggregateOperatorWarning 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
此 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>
要使用的診斷記錄器。
- 屬性