CoreEventId.RequiredAttributeInverted 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
现已弃用此 API。
具有导航属性的实体类型,该 RequiredAttribute 属性已配置为关系中的从属方。
此事件位于类别中 DbLoggerCategory.Model 。
此事件在与 a DiagnosticSource. 一起使用时使用NavigationEventData有效负载。
public static readonly Microsoft.Extensions.Logging.EventId RequiredAttributeInverted;
[System.Obsolete]
public static readonly Microsoft.Extensions.Logging.EventId RequiredAttributeInverted;
staticval mutable RequiredAttributeInverted : Microsoft.Extensions.Logging.EventId
[<System.Obsolete>]
staticval mutable RequiredAttributeInverted : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly RequiredAttributeInverted As EventId
字段值
- 特性