共用方式為


CoreLoggerExtensions.MappedNavigationIgnoredWarning 方法

定義

MappedNavigationIgnoredWarning事件的記錄。

public static void MappedNavigationIgnoredWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation);
static member MappedNavigationIgnoredWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> unit
<Extension()>
Public Sub MappedNavigationIgnoredWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As INavigationBase)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的診斷記錄器。

navigation
INavigationBase

導覽。

適用於