语言

RelationalEventId.CommandCreating 字段

定义

正在创建 A DbCommand 。

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

字段值

注解

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

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

适用于