Пример #1
0
        public static ITransactionHandle BeginTransaction(FirebirdConnectionPool connectionPool, IsolationLevel level)
        {
            FbConnection connection = connectionPool.AcquireConnection();

            return(new FirebirdTransactionHandle(connectionPool, connection, connection.BeginTransaction(level)));
        }
 public static ITransactionHandle BeginTransaction(FirebirdConnectionPool connectionPool, IsolationLevel level)
 {
   FbConnection connection = connectionPool.AcquireConnection();
   return new FirebirdTransactionHandle(connectionPool, connection, connection.BeginTransaction(level));
 }
Пример #3
0
 public FirebirdTransactionHandle(FirebirdConnectionPool connectionPool, FbConnection connection, FbTransaction transaction)
 {
     _connectionPool = connectionPool;
     _connection     = connection;
     _transaction    = transaction;
 }
 public FirebirdTransactionHandle(FirebirdConnectionPool connectionPool, FbConnection connection, FbTransaction transaction)
 {
   _connectionPool = connectionPool;
   _connection = connection;
   _transaction = transaction;
 }