示例#1
0
        /// <summary>
        /// Execute all sql statements.
        /// </summary>
        /// <returns>Execution success status.</returns>
        public ICollection <int> Execute2PTransaction()
        {
            ICollection <int> rowsAffected;

            try
            {
                rowsAffected = RadDBImpl.ExeTrans(_sqls, _dbNames);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(rowsAffected);
        }
示例#2
0
 /// <summary>
 /// Initializes a new ExecuteMultipleQuery object.
 /// </summary>
 public RadDbTransaction()
 {
     _sqls    = new List <string>();
     _dbNames = new List <string>();
     _dbImpl  = new RadDBImpl();
 }