public bool Delete() { bool result = false; try { if (this.BedTypeId > 0) { result = (new BedTypeDAO()).Delete(this); } } catch (System.Exception ex) { result = false; throw ex; } return result; }