Npgsql API Documentation |

# NpgsqlConnection.BeginTransaction Method

[This is preliminary documentation and subject to change.]

Begins a database transaction.

#### Overload List

Begins a database transaction.

> public NpgsqlTransaction BeginTransaction();

Begins a database transaction with the specified isolation level.

> public NpgsqlTransaction BeginTransaction(IsolationLevel);

#### See Also

NpgsqlConnection Class | Npgsql Namespace