Beispiel #1
0
 /// <summary>
 /// 更新事件启用条件{事件启用条件}对象(即:一条记录
 /// </summary>
 public int Update(TemplateEventCondition templateEventCondition)
 {
     using (var dbContext = UnitOfWork.Get(Unity.ContainerName))
     {
         return(new TemplateEventConditionRepository(dbContext).Update(templateEventCondition));
     }
 }
 /// <summary>
 /// 更新事件启用条件{事件启用条件}对象(即:一条记录
 /// </summary>
 public int Update(TemplateEventCondition templateEventCondition)
 {
     return(Update <TemplateEventCondition>(templateEventCondition));
 }
 /// <summary>
 /// 添加事件启用条件{事件启用条件}对象(即:一条记录
 /// </summary>
 public long Add(TemplateEventCondition templateEventCondition)
 {
     return(Add <TemplateEventCondition>(templateEventCondition));
 }