CoreEventId.FirstWithoutOrderByAndFilterWarning 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
现已弃用此 API。
查询使用 First/FirstOrDefault 操作,而不使用 OrderBy 和筛选器,这可能会导致不可预测的结果。
public static readonly Microsoft.Extensions.Logging.EventId FirstWithoutOrderByAndFilterWarning;
[System.Obsolete]
public static readonly Microsoft.Extensions.Logging.EventId FirstWithoutOrderByAndFilterWarning;
staticval mutable FirstWithoutOrderByAndFilterWarning : Microsoft.Extensions.Logging.EventId
[<System.Obsolete>]
staticval mutable FirstWithoutOrderByAndFilterWarning : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly FirstWithoutOrderByAndFilterWarning As EventId
字段值
- 属性
注解
此事件属于 类别 DbLoggerCategory.Query 。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈