2
0

SqlDataReader.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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 Fields
  27. DataTable tableSchema;
  28. DataTable tableRow;
  29. #endregion // Fields
  30. #region Public Methods
  31. [MonoTODO]
  32. public void Close()
  33. {
  34. throw new NotImplementedException ();
  35. }
  36. [MonoTODO]
  37. public DataTable GetSchemaTable()
  38. {
  39. throw new NotImplementedException ();
  40. }
  41. [MonoTODO]
  42. public bool NextResult()
  43. {
  44. throw new NotImplementedException ();
  45. }
  46. [MonoTODO]
  47. public bool Read()
  48. {
  49. throw new NotImplementedException ();
  50. }
  51. [MonoTODO]
  52. public byte GetByte(int i)
  53. {
  54. throw new NotImplementedException ();
  55. }
  56. [MonoTODO]
  57. public long GetBytes(int i, long fieldOffset,
  58. byte[] buffer, int bufferOffset,
  59. int length)
  60. {
  61. throw new NotImplementedException ();
  62. }
  63. [MonoTODO]
  64. public char GetChar(int i)
  65. {
  66. throw new NotImplementedException ();
  67. }
  68. [MonoTODO]
  69. public long GetChars(int i, long fieldOffset,
  70. char[] buffer, int bufferOffset,
  71. int length)
  72. {
  73. throw new NotImplementedException ();
  74. }
  75. [MonoTODO]
  76. public IDataReader GetData(int i)
  77. {
  78. throw new NotImplementedException ();
  79. }
  80. [MonoTODO]
  81. public string GetDataTypeName(int i)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. [MonoTODO]
  86. public DateTime GetDateTime(int i)
  87. {
  88. throw new NotImplementedException ();
  89. }
  90. [MonoTODO]
  91. public decimal GetDecimal(int i)
  92. {
  93. throw new NotImplementedException ();
  94. }
  95. [MonoTODO]
  96. public double GetDouble(int i)
  97. {
  98. throw new NotImplementedException ();
  99. }
  100. [MonoTODO]
  101. public Type GetFieldType(int i)
  102. {
  103. throw new NotImplementedException ();
  104. }
  105. [MonoTODO]
  106. public float GetFloat(int i)
  107. {
  108. throw new NotImplementedException ();
  109. }
  110. [MonoTODO]
  111. public Guid GetGuid(int i)
  112. {
  113. throw new NotImplementedException ();
  114. }
  115. [MonoTODO]
  116. public short GetInt16(int i)
  117. {
  118. throw new NotImplementedException ();
  119. }
  120. [MonoTODO]
  121. public int GetInt32(int i)
  122. {
  123. throw new NotImplementedException ();
  124. }
  125. [MonoTODO]
  126. public long GetInt64(int i)
  127. {
  128. throw new NotImplementedException ();
  129. }
  130. [MonoTODO]
  131. public string GetName(int i)
  132. {
  133. throw new NotImplementedException ();
  134. }
  135. [MonoTODO]
  136. public int GetOrdinal(string name)
  137. {
  138. throw new NotImplementedException ();
  139. }
  140. [MonoTODO]
  141. public string GetString(int i)
  142. {
  143. throw new NotImplementedException ();
  144. }
  145. [MonoTODO]
  146. public object GetValue(int i)
  147. {
  148. throw new NotImplementedException ();
  149. }
  150. [MonoTODO]
  151. public int GetValues(object[] values)
  152. {
  153. throw new NotImplementedException ();
  154. }
  155. [MonoTODO]
  156. public bool IsDBNull(int i)
  157. {
  158. throw new NotImplementedException ();
  159. }
  160. [MonoTODO]
  161. public bool GetBoolean(int i)
  162. {
  163. throw new NotImplementedException ();
  164. }
  165. [MonoTODO]
  166. public IEnumerator GetEnumerator() {
  167. throw new NotImplementedException ();
  168. }
  169. #endregion // Public Methods
  170. #region // Destructors
  171. [MonoTODO]
  172. public void Dispose () {
  173. }
  174. [MonoTODO]
  175. ~SqlDataReader() {
  176. }
  177. #endregion // Destructors
  178. #region Properties
  179. public int Depth {
  180. [MonoTODO]
  181. get {
  182. throw new NotImplementedException ();
  183. }
  184. }
  185. public bool IsClosed {
  186. [MonoTODO]
  187. get {
  188. throw new NotImplementedException ();
  189. }
  190. }
  191. public int RecordsAffected {
  192. [MonoTODO]
  193. get {
  194. throw new NotImplementedException ();
  195. }
  196. }
  197. public int FieldCount {
  198. [MonoTODO]
  199. get {
  200. throw new NotImplementedException ();
  201. }
  202. }
  203. public object this[string name] {
  204. [MonoTODO]
  205. get {
  206. throw new NotImplementedException ();
  207. }
  208. }
  209. public object this[int i] {
  210. [MonoTODO]
  211. get
  212. {
  213. throw new NotImplementedException ();
  214. }
  215. }
  216. #endregion // Properties
  217. }
  218. }