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

导航。

适用于