Share via


Database.CurrentTransaction Property

Definition

Gets the transaction the underlying store connection is enlisted in. May be null.

public System.Data.Entity.DbContextTransaction CurrentTransaction { get; }
member this.CurrentTransaction : System.Data.Entity.DbContextTransaction
Public ReadOnly Property CurrentTransaction As DbContextTransaction

Property Value

Applies to