Exemple #1
0
 public void Dispose()
 {
     _connectionManager.Dispose();
     _conStr            = null;
     _connectionManager = null;
     //_dbFactory = null;
 }
Exemple #2
0
        /// <summary>
        /// close connection and rollback transaction
        /// </summary>
        public void Close()
        {
            if (!_completed)
            {
                Rollback();
            }

            _connectionManager.Dispose();
        }