Npgsql.NpgsqlConnection.BeginDbTransaction C# (CSharp) Method

BeginDbTransaction() protected method

Begins a database transaction with the specified isolation level.
Currently the IsolationLevel ReadCommitted and Serializable are supported by the PostgreSQL backend. There's no support for nested transactions.
protected BeginDbTransaction ( System.Data.IsolationLevel isolationLevel ) : DbTransaction
isolationLevel System.Data.IsolationLevel The isolation level under which the transaction should run.
return System.Data.Common.DbTransaction
        protected override DbTransaction BeginDbTransaction(IsolationLevel isolationLevel)
        {
            NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "BeginDbTransaction", isolationLevel);

            return BeginTransaction(isolationLevel);
        }