电子药箱通讯服务端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TableJoinInfo.cs 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace RDH.Data.BLL
  7. {
  8. /// <summary>
  9. /// 表示表连接信息的类
  10. /// </summary>
  11. public class TableJoinInfo
  12. {
  13. public TableJoinTypes JoinType { get; set; }
  14. public BaseBLL LeftDal { get; set; }
  15. public BaseBLL RightDal { get; set; }
  16. public String LeftTableAliasName { get; set; }
  17. public String RightTableAliasName { get; set; }
  18. public String LeftColumnName { get; set; }
  19. public String RightColumnName { get; set; }
  20. public String CustomJoinCondition { get; set; }
  21. internal String CurrentSpiltor { get; set; }
  22. public Boolean DonotMapFlag { get; set; }
  23. public Dictionary<String, String> CustomPropertiesMap { get; private set; }
  24. public void AppendCustomPropertyMap(String property, String declaration)
  25. {
  26. if (CustomPropertiesMap == null)
  27. {
  28. CustomPropertiesMap = new Dictionary<string, string>();
  29. CustomPropertiesMap.Add(property, declaration);
  30. }
  31. else
  32. {
  33. if (!CustomPropertiesMap.ContainsKey(property))
  34. {
  35. CustomPropertiesMap.Add(property, declaration);
  36. }
  37. }
  38. }
  39. }
  40. }