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