语言

CoreEventId.DistinctAfterOrderByWithoutRowLimitingOperatorWarning 字段

定义

该查询在应用排序后使用“Distinct”运算符。 如果有在排序前后 Distinct 使用的任何行限制操作,则排序将用于该操作。 排序后 Distinct 将被清除,之后的结果将取消排序。

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

字段值

注解

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

适用于