Breyta

Deila með


DbConnection.IDbConnection.BeginTransaction Method

Definition

Begins a database transaction.

Overloads

IDbConnection.BeginTransaction(IsolationLevel)

Begins a database transaction with the specified isolation level.

IDbConnection.BeginTransaction()

Begins a database transaction.

IDbConnection.BeginTransaction(IsolationLevel)

Source:
DbConnection.cs
Source:
DbConnection.cs
Source:
DbConnection.cs

Begins a database transaction with the specified isolation level.

 virtual System::Data::IDbTransaction ^ System.Data.IDbConnection.BeginTransaction(System::Data::IsolationLevel isolationLevel) = System::Data::IDbConnection::BeginTransaction;
System.Data.IDbTransaction IDbConnection.BeginTransaction (System.Data.IsolationLevel isolationLevel);
abstract member System.Data.IDbConnection.BeginTransaction : System.Data.IsolationLevel -> System.Data.IDbTransaction
override this.System.Data.IDbConnection.BeginTransaction : System.Data.IsolationLevel -> System.Data.IDbTransaction
Function BeginTransaction (isolationLevel As IsolationLevel) As IDbTransaction Implements IDbConnection.BeginTransaction

Parameters

isolationLevel
IsolationLevel

One of the enumeration values that specifies the isolation level for the transaction to use.

Returns

An object that represents the new transaction.

Implements

Remarks

For more information, see BeginTransaction.

See also

Applies to

IDbConnection.BeginTransaction()

Source:
DbConnection.cs
Source:
DbConnection.cs
Source:
DbConnection.cs

Begins a database transaction.

 virtual System::Data::IDbTransaction ^ System.Data.IDbConnection.BeginTransaction() = System::Data::IDbConnection::BeginTransaction;
System.Data.IDbTransaction IDbConnection.BeginTransaction ();
abstract member System.Data.IDbConnection.BeginTransaction : unit -> System.Data.IDbTransaction
override this.System.Data.IDbConnection.BeginTransaction : unit -> System.Data.IDbTransaction
Function BeginTransaction () As IDbTransaction Implements IDbConnection.BeginTransaction

Returns

An object that represents the new transaction.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DbConnection instance is cast to an IDbConnection interface.

For more information, see BeginTransaction.

See also

Applies to