ClientParamWithSqlConditionAndOpenBase.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using CoreFS.CA06;
  6. using System.Data;
  7. using System.Collections;
  8. namespace Core.Mes.Client.Common
  9. {
  10. /// <summary>
  11. /// 传参数使用类,含条件和ob
  12. /// </summary>
  13. public class ClientParamWithSqlConditionAndOpenBase
  14. {
  15. private CoreFS.CA06.OpeBase _ob = null;
  16. private string _sqlCondition = "";
  17. private ArrayList _sqlConditionList = null;
  18. private object[] _param = null;
  19. /// <summary>
  20. /// 参数数组
  21. /// </summary>
  22. /// <param name="args"></param>
  23. /// <param name="ob"></param>
  24. public ClientParamWithSqlConditionAndOpenBase(object[] args, OpeBase ob)
  25. {
  26. this._param = args;
  27. this._ob = ob;
  28. }
  29. public ClientParamWithSqlConditionAndOpenBase()
  30. {
  31. }
  32. /// <summary>
  33. ///
  34. /// </summary>
  35. /// <param name="ob"></param>
  36. public ClientParamWithSqlConditionAndOpenBase(OpeBase ob)
  37. {
  38. this._ob = ob;
  39. }
  40. public ClientParamWithSqlConditionAndOpenBase(string sqlConditon, OpeBase ob)
  41. {
  42. this._sqlCondition = sqlConditon;
  43. this._ob = ob;
  44. }
  45. public ClientParamWithSqlConditionAndOpenBase(ArrayList sqlConditionList, OpeBase ob)
  46. {
  47. this._sqlConditionList = sqlConditionList;
  48. this._ob = ob;
  49. }
  50. /// <summary>
  51. /// 条件
  52. /// </summary>
  53. public string sqlCondition
  54. {
  55. get
  56. {
  57. return this._sqlCondition;
  58. }
  59. set
  60. {
  61. this._sqlCondition = value;
  62. }
  63. }
  64. public ArrayList sqlConditionList
  65. {
  66. get
  67. {
  68. return this._sqlConditionList;
  69. }
  70. set
  71. {
  72. this._sqlConditionList = value;
  73. }
  74. }
  75. /// <summary>
  76. /// 数组参数
  77. /// </summary>
  78. public object[] param
  79. {
  80. get
  81. {
  82. return this._param;
  83. }
  84. set
  85. {
  86. this._param = value;
  87. }
  88. }
  89. /// <summary>
  90. /// openbase
  91. /// </summary>
  92. public OpeBase ob
  93. {
  94. get
  95. {
  96. return this._ob;
  97. }
  98. set
  99. {
  100. this._ob = value;
  101. }
  102. }
  103. }
  104. }