/// <summary> /// 修改权限 /// </summary> /// <param name="model"></param> /// <returns></returns> public int UpdatePurviewInfo(ServPurviewInfoModel model) { try { return(mapContext.Update("UpdatePuriviewInfo", model)); } catch (Exception ex) { throw ex; } }
public int AddEntity(ServPurviewInfoModel entity) { try { return((int)mapContext.Insert("InsertPuriviewInfo", entity)); } catch (Exception ex) { throw ex; } }
public bool UpdateEntity(int id, ServPurviewInfoModel newentity) { throw new NotImplementedException(); }