Table of Contents

BeginTransaction Method

Definition

Namespace
Savvyio.Extensions.Dapper
Assemblies
Savvyio.Extensions.Dapper.dll
Source
src/Savvyio.Extensions.Dapper/DapperDataSource.cs

BeginTransaction()

Begins a database transaction.

public IDbTransaction BeginTransaction()

Returns

IDbTransaction

An object representing the new transaction.

BeginTransaction(IsolationLevel)

Begins a database transaction.

public IDbTransaction BeginTransaction(IsolationLevel il)

Parameters

il IsolationLevel

One of the IsolationLevel values.

Returns

IDbTransaction

An object representing the new transaction.