ClientParam.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. /// 参数传递
  12. /// </summary>
  13. public class ClientParam
  14. {
  15. private string _sqlStr = "";
  16. private CoreFS.CA06.OpeBase _ob = null;
  17. private string _sqlCondition = "";
  18. public ClientParam(string sqlStr,OpeBase ob)
  19. {
  20. this._sqlStr = sqlStr;
  21. this._ob = ob;
  22. }
  23. public ClientParam(OpeBase ob)
  24. {
  25. this._ob = ob;
  26. }
  27. public ClientParam(string sqlStr, string sqlConditon,OpeBase ob)
  28. {
  29. this._sqlStr = sqlStr;
  30. this._ob = ob;
  31. this._sqlCondition = sqlConditon;
  32. }
  33. /// <summary>
  34. /// 条件
  35. /// </summary>
  36. public string sqlCondition
  37. {
  38. get
  39. {
  40. return this._sqlCondition;
  41. }
  42. set
  43. {
  44. this._sqlCondition = value;
  45. }
  46. }
  47. /// <summary>
  48. /// 完整sql
  49. /// </summary>
  50. public string sqlStr
  51. {
  52. get
  53. {
  54. return this._sqlStr;
  55. }
  56. set
  57. {
  58. this._sqlStr = value;
  59. }
  60. }
  61. /// <summary>
  62. /// openbase
  63. /// </summary>
  64. public OpeBase ob
  65. {
  66. get
  67. {
  68. return this._ob;
  69. }
  70. set
  71. {
  72. this._ob = value;
  73. }
  74. }
  75. }
  76. }