共用方式為


RelationalLoggerExtensions.MultipleCollectionIncludeWarning 方法

定義

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

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

要使用的診斷記錄器。

適用於