语言

CoreEventId.ForeignKeyAttributesOnBothPropertiesWarning 字段

定义

在两侧的属性上指定了两个关系 ForeignKeyAttribute 中的导航。

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

字段值

注解

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

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

适用于