共用方式為


IRelationalConnection.CurrentTransaction 屬性

定義

取得目前的交易。

public Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction CurrentTransaction { get; }
public Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction? CurrentTransaction { get; }
member this.CurrentTransaction : Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction
Public ReadOnly Property CurrentTransaction As IDbContextTransaction

屬性值

實作

適用於