Database.CurrentTransaction Property

 

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

Namespace:   System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

public DbContextTransaction CurrentTransaction { get; }