DbClientParam.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Core.LgMes.Client.lgDbMgt
  6. {
  7. public class DbClientParam
  8. {
  9. private string _sqlStr;
  10. private CoreFS.CA06.OpeBase _ob;
  11. private object[] _param;
  12. public DbClientParam(string sqlStr,CoreFS.CA06.OpeBase ob)
  13. {
  14. this._sqlStr = sqlStr;
  15. this._ob = ob;
  16. }
  17. public DbClientParam(string sqlStr, CoreFS.CA06.OpeBase ob, object[] param)
  18. {
  19. this._sqlStr = sqlStr;
  20. this._ob = ob;
  21. this._param = param;
  22. }
  23. public DbClientParam()
  24. {
  25. }
  26. public string sqlStr
  27. {
  28. get
  29. {
  30. return this._sqlStr;
  31. }
  32. set
  33. {
  34. this._sqlStr = value;
  35. }
  36. }
  37. public CoreFS.CA06.OpeBase ob
  38. {
  39. get
  40. {
  41. return this._ob;
  42. }
  43. set
  44. {
  45. this._ob = value;
  46. }
  47. }
  48. public object[] param
  49. {
  50. get
  51. {
  52. return this._param;
  53. }
  54. set
  55. {
  56. this._param = value;
  57. }
  58. }
  59. }
  60. }