public override bool update() { if (!isValid()) return false; string sqlCommand = String.Format("update Feature set fInUse={0},fScore={1},prID={2} where fID={3}", fInUse, fScore, prID, fID); Sql sql = new Sql(); return sql.updateFeature(sqlCommand); }