CoreLoggerExtensions.AmbiguousEndRequiredWarning 方法

定义

AmbiguousEndRequiredWarning事件的日志。

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

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的诊断记录器。

foreignKey
IForeignKey

外键。

适用于