共用方式為


IDbContextTransactionManager.BeginTransaction 方法

定義

開始新交易。

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

傳回

新建立的交易。

適用於