ProcessWorkfloconfigDAL.cs 931 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.DataLogic.Repositories;
  6. using EMIS.Entities;
  7. namespace EMIS.DataLogic.SystemDAL
  8. {
  9. public class ProcessWorkfloconfigDAL
  10. {
  11. public WorkfloconfigRepository workfloconfigRepository { get; set; }
  12. public ProcessRelationRepository processRelationRepository { get; set; }
  13. /// <summary>
  14. /// 获取流程配置表
  15. /// </summary>
  16. /// <returns></returns>
  17. public IQueryable<Sys_Workfloconfig> GetWorkfloconfigQueryable()
  18. {
  19. return workfloconfigRepository.GetList(x => true);
  20. }
  21. /// <summary>
  22. /// 流程关联表
  23. /// </summary>
  24. /// <returns></returns>
  25. public IQueryable<Sys_ProcessRelation> GetProcessRelationQueryable()
  26. {
  27. return processRelationRepository.GetList(x => true);
  28. }
  29. }
  30. }