语言

CoreEventId.ShadowPropertyNameNotValidIdentifierWarning 字段

定义

阴影属性的名称不是有效的标识符,这可能会导致生成的代码出现问题。

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

字段值

注解

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

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

适用于