DbConnection.IDbConnection.BeginTransaction Method ()


Begins a database transaction.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

private abstract BeginTransaction : unit -> IDbTransaction
private override BeginTransaction : unit -> IDbTransaction

Return Value

Type: System.Data.IDbTransaction

An object that represents the new transaction.

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.

.NET Framework
Available since 2.0
Return to top