CoreEventId.ForeignKeyAttributesOnBothPropertiesWarning 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在两侧的属性上指定了两个关系 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有效负载。