Condividi tramite


RelationalConnection.BeginTransaction Metodo

Definizione

Overload

BeginTransaction()

Inizia una nuova transazione.

BeginTransaction(IsolationLevel)

Inizia una nuova transazione.

BeginTransaction()

Inizia una nuova transazione.

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

Restituisce

Transazione appena creata.

Implementazioni

Si applica a

BeginTransaction(IsolationLevel)

Inizia una nuova transazione.

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

Parametri

isolationLevel
IsolationLevel

Livello di isolamento da utilizzare per la transazione.

Restituisce

Transazione appena creata.

Implementazioni

Si applica a