语言

RelationalEventId.CommandExecuted 字段

定义

已执行数据库命令。

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

字段值

注解

此事件位于类别中 DbLoggerCategory.Database.Command 。

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

适用于