示例#1
0
文件: House.cs 项目: Leooonard/CGXM
 public override bool delete()
 {
     if (hID == C.ERROR_INT)
         return false;
     string sqlCommand = String.Format(@"delete from House where hID={0}", hID);
     Sql sql = new Sql();
     return sql.deleteHouse(sqlCommand);
 }