语言

RelationalEventId.ConnectionCreated 字段

定义

EF 已创建 A DbConnection 。

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

字段值

注解

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

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

适用于