语言

RelationalEventId.OptionalDependentWithoutIdentifyingPropertyWarning 字段

定义

该实体没有任何具有非默认值的属性,用于标识实体是否存在。

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

字段值

注解

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

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

适用于