/// <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); }
/// <summary> /// Initializes a new ExecuteMultipleQuery object. /// </summary> public RadDbTransaction() { _sqls = new List <string>(); _dbNames = new List <string>(); _dbImpl = new RadDBImpl(); }