IDbCommand.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. //
  2. // System.Data.IDBCommand.cs
  3. //
  4. // Author:
  5. // Christopher Podurgiel ([email protected])
  6. //
  7. // (C) Chris Podurgiel
  8. //
  9. namespace System.Data
  10. {
  11. /// <summary>
  12. /// Represents a SQL statement that is executed while connected to a data source, and is implemented by .NET data providers that access relational databases.
  13. /// </summary>
  14. public interface IDBCommand
  15. {
  16. void Cancel()
  17. {
  18. }
  19. IDataParameter CreateParameter()
  20. {
  21. }
  22. int ExecuteNonQuery()
  23. {
  24. }
  25. IDataReader ExecuteReader()
  26. {
  27. }
  28. IDataReader ExecuteReader(CommandBehavior behavior)
  29. {
  30. }
  31. object ExecuteScalar()
  32. {
  33. }
  34. void Prepare()
  35. {
  36. }
  37. string CommandText
  38. {
  39. get
  40. {
  41. }
  42. set
  43. {
  44. }
  45. }
  46. int CommandTimeout
  47. {
  48. get
  49. {
  50. }
  51. set
  52. {
  53. }
  54. }
  55. CommandTpe CommandType
  56. {
  57. get
  58. {
  59. }
  60. set
  61. {
  62. }
  63. }
  64. IDbConnection Connection
  65. {
  66. get
  67. {
  68. }
  69. set
  70. {
  71. }
  72. }
  73. IDataParameterCollection Parameters
  74. {
  75. get
  76. {
  77. }
  78. }
  79. IDbTransaction Transaction
  80. {
  81. get
  82. {
  83. }
  84. set
  85. {
  86. }
  87. }
  88. UpdateRowSource UpdatedRowSource
  89. {
  90. get
  91. {
  92. }
  93. set
  94. {
  95. }
  96. }
  97. }
  98. }