public override bool delete() { if (chID == C.ERROR_INT) return false; string sqlCommand = String.Format(@"delete from CommonHouse where chID={0}", chID); Sql sql = new Sql(); return sql.deleteCommonHouse(sqlCommand); }