语言

CoreEventId.RequiredAttributeOnCollection 字段

定义

集合 RequiredAttribute 导航属性被忽略。

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

字段值

注解

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

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

适用于