public List <SoftProjectAreaEntity> SelectCells(CommandType CommandType, string TSql, SqlParameter[] paras) { List <SoftProjectAreaEntity> CellTs = new List <SoftProjectAreaEntity>(); using (SqlDataReader sdr = SqlHelper.ExecuteReader(ProviderHelper.ConnectionString, CommandType, TSql, paras)) { while (sdr.Read()) { SoftProjectAreaEntity cellT = SqlTool.Read <SoftProjectAreaEntity>(new SafeDataReader(sdr)); CellTs.Add(cellT); } } return(CellTs); }