Пример #1
0
        //根据流程定义主键Id去查开始节点Id
        public Flow_NodeDefine GetInfoByProcedureDefineId(int id)
        {
            Flow_NodeDefine node_Info = DbSet.Single(uid => uid.Flow_ProcedureDefineId == id &&
                                                     uid.NodeType == "开始类型");

            return(node_Info);
        }
Пример #2
0
 public virtual void Update(Flow_NodeDefine obj)
 {
     DbSet.Update(obj);
 }
Пример #3
0
        public Flow_NodeDefine GetInfoByNodeDefineId(int id)
        {
            Flow_NodeDefine node_Info = DbSet.Single(uid => uid.Id.Equals(id));

            return(node_Info);
        }
Пример #4
0
 public virtual void Add(Flow_NodeDefine obj)
 {
     DbSet.Add(obj);
 }