示例#1
0
 /// <summary>
 /// 更新实例挂起记录{实例挂起记录}对象(即:一条记录
 /// </summary>
 public int Update(HisSuspend hisSuspend)
 {
     using (var dbContext = UnitOfWork.Get(Unity.ContainerName))
     {
         return(new HisSuspendRepository(dbContext).Update(hisSuspend));
     }
 }
示例#2
0
 /// <summary>
 /// 添加实例挂起记录{实例挂起记录}对象(即:一条记录
 /// </summary>
 public long Add(HisSuspend hisSuspend)
 {
     using (var dbContext = UnitOfWork.Get(Unity.ContainerName))
     {
         return(new HisSuspendRepository(dbContext).Add(hisSuspend));
     }
 }
 /// <summary>
 /// 更新实例挂起记录{实例挂起记录}对象(即:一条记录
 /// </summary>
 public int Update(HisSuspend hisSuspend)
 {
     return(Update <HisSuspend>(hisSuspend));
 }
 /// <summary>
 /// 添加实例挂起记录{实例挂起记录}对象(即:一条记录
 /// </summary>
 public long Add(HisSuspend hisSuspend)
 {
     return(Add <HisSuspend>(hisSuspend));
 }