SqlDataReader.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. //
  2. // System.Data.SqlClient.SqlDataReader.cs
  3. //
  4. // Author:
  5. // Rodrigo Moya ([email protected])
  6. // Daniel Morgan ([email protected])
  7. //
  8. // (C) Ximian, Inc 2002
  9. //
  10. using System;
  11. using System.Collections;
  12. using System.ComponentModel;
  13. using System.Data;
  14. namespace System.Data.SqlClient
  15. {
  16. /// <summary>
  17. /// Provides a means of reading one or more forward-only streams
  18. /// of result sets obtained by executing a command
  19. /// at a SQL database.
  20. /// </summary>
  21. //public sealed class SqlDataReader : MarshalByRefObject,
  22. // IEnumerable, IDataReader, IDisposable, IDataRecord
  23. public sealed class SqlDataReader : IEnumerable,
  24. IDataReader, IDataRecord
  25. {
  26. #region Public Methods
  27. [MonoTODO]
  28. public void Close()
  29. {
  30. throw new NotImplementedException ();
  31. }
  32. [MonoTODO]
  33. public DataTable GetSchemaTable()
  34. {
  35. throw new NotImplementedException ();
  36. }
  37. [MonoTODO]
  38. public bool NextResult()
  39. {
  40. throw new NotImplementedException ();
  41. }
  42. [MonoTODO]
  43. public bool Read()
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. byte GetByte(int i)
  48. {
  49. throw new NotImplementedException ();
  50. }
  51. long GetBytes(int i, long fieldOffset,
  52. byte[] buffer, int bufferOffset,
  53. int length)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. char GetChar(int i)
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. long GetChars(int i, long fieldOffset,
  62. char[] buffer, int bufferOffset,
  63. int length)
  64. {
  65. throw new NotImplementedException ();
  66. }
  67. IDataReader GetData(int i)
  68. {
  69. throw new NotImplementedException ();
  70. }
  71. string GetDataTypeName(int i)
  72. {
  73. throw new NotImplementedException ();
  74. }
  75. DateTime GetDateTime(int i)
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. decimal GetDecimal(int i)
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. double GetDouble(int i)
  84. {
  85. throw new NotImplementedException ();
  86. }
  87. Type GetFieldType(int i)
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. float GetFloat(int i)
  92. {
  93. throw new NotImplementedException ();
  94. }
  95. Guid GetGuid(int i)
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. short GetInt16(int i)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. int GetInt32(int i)
  104. {
  105. throw new NotImplementedException ();
  106. }
  107. long GetInt64(int i)
  108. {
  109. throw new NotImplementedException ();
  110. }
  111. string GetName(int i)
  112. {
  113. throw new NotImplementedException ();
  114. }
  115. int GetOrdinal(string name)
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. string GetString(int i)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. object GetValue(int i)
  124. {
  125. throw new NotImplementedException ();
  126. }
  127. int GetValues(object[] values)
  128. {
  129. throw new NotImplementedException ();
  130. }
  131. bool IsDBNull(int i)
  132. {
  133. throw new NotImplementedException ();
  134. }
  135. bool GetBoolean(int i)
  136. {
  137. throw new NotImplementedException ();
  138. }
  139. #endregion
  140. #region Properties
  141. [MonoTODO]
  142. public int Depth {
  143. get {
  144. throw new NotImplementedException ();
  145. }
  146. }
  147. [MonoTODO]
  148. public bool IsClosed {
  149. get {
  150. throw new NotImplementedException ();
  151. }
  152. }
  153. [MonoTODO]
  154. public int RecordsAffected {
  155. get {
  156. throw new NotImplementedException ();
  157. }
  158. }
  159. int FieldCount {
  160. get {
  161. throw new NotImplementedException ();
  162. }
  163. }
  164. object this[string name] {
  165. get {
  166. throw new NotImplementedException ();
  167. }
  168. }
  169. object this[int i] {
  170. get
  171. {
  172. throw new NotImplementedException ();
  173. }
  174. }
  175. #endregion
  176. }
  177. }