语言

RelationalEventId.QueryPossibleUnintendedUseOfEqualsWarning 字段

定义

查询以可能无意的方式使用相等比较。

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

字段值

注解

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

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

适用于