DbConnection.BeginTransaction Method ()

 

Starts a database transaction.

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

member BeginTransaction : unit -> DbTransaction

Return Value

Type: System.Data.Common.DbTransaction

An object representing the new transaction.

If you do not specify an isolation level, the default isolation level for the specific type of connection is used.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: