IDbContextTransactionManager.BeginTransaction 方法

定义

开始一个新事务。

public Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction BeginTransaction ();
abstract member BeginTransaction : unit -> Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction
Public Function BeginTransaction () As IDbContextTransaction

返回

新建的事务。

适用于