/// <summary> /// 删除 /// </summary> /// <param name="id">id</param> /// <returns></returns> public Boolean delete(int id, string e) { Boolean flag = false; PaibanbiaoInfoDao pi = new PaibanbiaoInfoDao(); if (pi.delete <paibanbiao_info>(id) && pi.delete2(e)) { flag = true; } return(flag); }
/// <summary> /// 修改人员信息 /// </summary> /// <param name="orderInfo"></param> /// <returns></returns> public Boolean update(paibanbiao_info infoList) { PaibanbiaoInfoDao pi = new PaibanbiaoInfoDao(); return(pi.update <paibanbiao_info>(infoList)); }