IDataRecord.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. //
  2. // System.Data.IDataRecord.cs
  3. //
  4. // Author:
  5. // Christopher Podurgiel ([email protected])
  6. //
  7. // (C) Chris Podurgiel
  8. //
  9. namespace System.Data
  10. {
  11. /// <summary>
  12. /// Provides access to the column values within each row for a DataReader, and is implemented by .NET data providers that access relational databases.
  13. /// </summary>
  14. public interface IDataRecord
  15. {
  16. bool GetBoolean(int i)
  17. {
  18. }
  19. byte GetByte(int i)
  20. {
  21. }
  22. long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferOffset, int length)
  23. {
  24. }
  25. char GetChar(int i)
  26. {
  27. }
  28. long GetChars(int i, long fieldOffset, char[] buffer, int bufferOffset, int length)
  29. {
  30. }
  31. IDataReader GetDate(int i)
  32. {
  33. }
  34. string GetDataTypeName(int i)
  35. {
  36. }
  37. DateTime GetDateTime(int i)
  38. {
  39. }
  40. decimal GetDecimal(int i)
  41. {
  42. }
  43. double GetDouble(int i)
  44. {
  45. }
  46. Type GetFieldType(int i)
  47. {
  48. }
  49. float GetFloat(int i)
  50. {
  51. }
  52. Guid GetGuid(int i)
  53. {
  54. }
  55. short GetInt16(int i)
  56. {
  57. }
  58. int GetInt32(int i)
  59. {
  60. }
  61. long GetInt64(int i)
  62. {
  63. }
  64. string GetName(int i)
  65. {
  66. }
  67. int GetOrdinal(string name)
  68. {
  69. }
  70. string GetString(int i)
  71. {
  72. }
  73. object GetValue(int i)
  74. {
  75. }
  76. int GetValues(object[] values)
  77. {
  78. }
  79. bool IsDBNull(int i)
  80. {
  81. }
  82. int FieldCount
  83. {
  84. get
  85. {
  86. }
  87. }
  88. object this[string name]
  89. {
  90. get
  91. {
  92. }
  93. }
  94. object this[int i]
  95. {
  96. get
  97. {
  98. }
  99. }
  100. }
  101. }