共用方式為


CommandCorrelatedEventData.ConnectionId 屬性

定義

識別所使用實例的 DbConnection 相互關聯識別碼。

public virtual Guid ConnectionId { get; }
member this.ConnectionId : Guid
Public Overridable ReadOnly Property ConnectionId As Guid

屬性值

適用於