/// <summary> /// 更新流程业务{流程业务}对象(即:一条记录 /// </summary> public int Update(TemplateMsgParam templateMsgParam) { using (var dbContext = UnitOfWork.Get(Unity.ContainerName)) { return(new TemplateMsgParamRepository(dbContext).Update(templateMsgParam)); } }
/// <summary> /// 更新流程业务{流程业务}对象(即:一条记录 /// </summary> public int Update(TemplateMsgParam templateMsgParam) { return(Update <TemplateMsgParam>(templateMsgParam)); }
/// <summary> /// 添加流程业务{流程业务}对象(即:一条记录 /// </summary> public long Add(TemplateMsgParam templateMsgParam) { return(Add <TemplateMsgParam>(templateMsgParam)); }