共用方式為


RelationalConnection.BeginTransaction 方法

定義

多載

BeginTransaction()

開始新交易。

BeginTransaction(IsolationLevel)

開始新交易。

BeginTransaction()

來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs

開始新交易。

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

傳回

新建立的交易。

實作

適用於

BeginTransaction(IsolationLevel)

來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs
來源:
RelationalConnection.cs

開始新交易。

public virtual Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction BeginTransaction (System.Data.IsolationLevel isolationLevel);
abstract member BeginTransaction : System.Data.IsolationLevel -> Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction
override this.BeginTransaction : System.Data.IsolationLevel -> Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction
Public Overridable Function BeginTransaction (isolationLevel As IsolationLevel) As IDbContextTransaction

參數

isolationLevel
IsolationLevel

要用於交易的隔離等級。

傳回

新建立的交易。

實作

適用於