語言

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 類別。

此事件在與 DiagnosticSource搭配 時會使用 payload 。ForeignKeyEventData

適用於