예제 #1
0
 /// <summary>
 /// 更新步骤消息处理{步骤消息处理}对象(即:一条记录
 /// </summary>
 public int Update(HisStepMsg hisStepMsg)
 {
     using (var dbContext = UnitOfWork.Get(Unity.ContainerName))
     {
         return(new HisStepMsgRepository(dbContext).Update(hisStepMsg));
     }
 }
예제 #2
0
 /// <summary>
 /// 添加步骤消息处理{步骤消息处理}对象(即:一条记录
 /// </summary>
 public long Add(HisStepMsg hisStepMsg)
 {
     using (var dbContext = UnitOfWork.Get(Unity.ContainerName))
     {
         return(new HisStepMsgRepository(dbContext).Add(hisStepMsg));
     }
 }
예제 #3
0
 /// <summary>
 /// 更新步骤消息处理{步骤消息处理}对象(即:一条记录
 /// </summary>
 public int Update(HisStepMsg hisStepMsg)
 {
     return(Update <HisStepMsg>(hisStepMsg));
 }
예제 #4
0
 /// <summary>
 /// 添加步骤消息处理{步骤消息处理}对象(即:一条记录
 /// </summary>
 public long Add(HisStepMsg hisStepMsg)
 {
     return(Add <HisStepMsg>(hisStepMsg));
 }