Share via


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

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

适用于