Share via


RelationalConnection.CurrentTransaction Property

Definition

Gets the current transaction.

public virtual Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction CurrentTransaction { get; protected set; }
public virtual Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction? CurrentTransaction { get; protected set; }
member this.CurrentTransaction : Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction with get, set
Public Overridable Property CurrentTransaction As IDbContextTransaction

Property Value

Applies to