Share via


CoreEventId.RequiredAttributeInverted 字段

定义

注意

现已弃用此 API。

具有导航属性 RequiredAttribute 的实体类型已配置为关系中的依赖方。

此事件属于 类别 DbLoggerCategory.Model

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

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 

字段值

属性

适用于