共用方式為


IDbContextTransactionManager.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

屬性值

適用於