语言

CoreEventId.RequiredAttributeInverted 字段

定义

注意

现已弃用此 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 

字段值

特性

适用于