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

属性值

适用于