Tortuga.Chain.PostgreSqlDataSource.BeginTransaction C# (CSharp) Method

BeginTransaction() public method

Begins the transaction.
public BeginTransaction ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : PostgreSqlTransactionalDataSource
isolationLevel IsolationLevel The isolation level.
forwardEvents bool if set to true [forward events].
return PostgreSqlTransactionalDataSource
        public PostgreSqlTransactionalDataSource BeginTransaction(IsolationLevel? isolationLevel = null, bool forwardEvents = true)
        {
            return new PostgreSqlTransactionalDataSource(this, isolationLevel, forwardEvents);
        }