Exemplo n.º 1
0
 public override bool update()
 {
     if (!isValid())
         return false;
     string sqlCommand = String.Format(@"update CommonHouse set chHeight={0},chFrontGap={1},chFloor={2},chFloorHeight={3},chBackGapRatio={4}
         ,chBackGap={5},vID={6}", chHeight, chFrontGap, chFloor, chFloorHeight, chBackGapRatio, chBackGap, vID);
     Sql sql = new Sql();
     return sql.updateCommonHouse(sqlCommand);
 }