语言

CoreEventId.RedundantForeignKeyWarning 字段

定义

配置的 IForeignKey 是冗余的。

public static readonly Microsoft.Extensions.Logging.EventId RedundantForeignKeyWarning;
 staticval mutable RedundantForeignKeyWarning : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly RedundantForeignKeyWarning As EventId 

字段值

注解

此事件位于类别中 DbLoggerCategory.Model.Validation 。

此事件在与 a DiagnosticSource. 一起使用时使用ForeignKeyEventData有效负载。

适用于