OleDbDataReader.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. //
  2. // System.Data.OleDb.OleDbDataReader
  3. //
  4. // Author:
  5. // Rodrigo Moya ([email protected])
  6. // Tim Coleman ([email protected])
  7. //
  8. // Copyright (C) Rodrigo Moya, 2002
  9. // Copyright (C) Tim Coleman, 2002
  10. //
  11. using System.Collections;
  12. using System.ComponentModel;
  13. using System.Data;
  14. using System.Data.Common;
  15. namespace System.Data.OleDb
  16. {
  17. public sealed class OleDbDataReader : MarshalByRefObject, IDataReader, IDisposable, IDataRecord, IEnumerable
  18. {
  19. #region Fields
  20. OleDbCommand command;
  21. bool open;
  22. #endregion
  23. #region Constructors
  24. internal OleDbDataReader (OleDbCommand command)
  25. {
  26. this.command = command;
  27. open = true;
  28. command.OpenReader(this);
  29. }
  30. #endregion
  31. #region Properties
  32. public int Depth {
  33. [MonoTODO]
  34. get { throw new NotImplementedException (); }
  35. }
  36. public int FieldCount {
  37. [MonoTODO]
  38. get { throw new NotImplementedException (); }
  39. }
  40. public bool IsClosed {
  41. [MonoTODO]
  42. get { throw new NotImplementedException (); }
  43. }
  44. public object this[string name] {
  45. [MonoTODO]
  46. get { throw new NotImplementedException (); }
  47. }
  48. public object this[int index] {
  49. [MonoTODO]
  50. get { throw new NotImplementedException (); }
  51. }
  52. public int RecordsAffected {
  53. [MonoTODO]
  54. get { throw new NotImplementedException (); }
  55. }
  56. #endregion
  57. #region Methods
  58. [MonoTODO]
  59. public void Close ()
  60. {
  61. throw new NotImplementedException ();
  62. }
  63. [MonoTODO]
  64. ~OleDbDataReader ()
  65. {
  66. throw new NotImplementedException ();
  67. }
  68. [MonoTODO]
  69. public bool GetBoolean (int ordinal)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. [MonoTODO]
  74. public byte GetByte (int ordinal)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. [MonoTODO]
  79. public long GetBytes (int ordinal, long dataIndex, byte[] buffer, int bufferIndex, int length)
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. [MonoTODO]
  84. public char GetChar (int ordinal)
  85. {
  86. throw new NotImplementedException ();
  87. }
  88. [MonoTODO]
  89. public long GetChars (int ordinal, long dataIndex, char[] buffer, int bufferIndex, int length)
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. [MonoTODO]
  94. public OleDbDataReader GetData (int ordinal)
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. [MonoTODO]
  99. public string GetDataTypeName (int index)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. public DateTime GetDateTime (int ordinal)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. public decimal GetDecimal (int ordinal)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. public double GetDouble (int ordinal)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. public Type GetFieldType (int index)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. public float GetFloat (int ordinal)
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. [MonoTODO]
  129. public Guid GetGuid (int ordinal)
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. [MonoTODO]
  134. public short GetInt16 (int ordinal)
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. [MonoTODO]
  139. public int GetInt32 (int ordinal)
  140. {
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. public long GetInt64 (int ordinal)
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. [MonoTODO]
  149. public string GetName (int index)
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. [MonoTODO]
  154. public int GetOrdinal (string name)
  155. {
  156. throw new NotImplementedException ();
  157. }
  158. [MonoTODO]
  159. public DataTable GetSchemaTable ()
  160. {
  161. throw new NotImplementedException ();
  162. }
  163. [MonoTODO]
  164. public string GetString (int ordinal)
  165. {
  166. throw new NotImplementedException ();
  167. }
  168. [MonoTODO]
  169. public TimeSpan GetTimeSpan (int ordinal)
  170. {
  171. throw new NotImplementedException ();
  172. }
  173. [MonoTODO]
  174. public object GetValue (int ordinal)
  175. {
  176. throw new NotImplementedException ();
  177. }
  178. [MonoTODO]
  179. public int GetValues (object[] values)
  180. {
  181. throw new NotImplementedException ();
  182. }
  183. [MonoTODO]
  184. IDataReader IDataRecord.GetData (int ordinal)
  185. {
  186. throw new NotImplementedException ();
  187. }
  188. [MonoTODO]
  189. void IDisposable.Dispose ()
  190. {
  191. throw new NotImplementedException ();
  192. }
  193. [MonoTODO]
  194. IEnumerator IEnumerable.GetEnumerator ()
  195. {
  196. throw new NotImplementedException ();
  197. }
  198. [MonoTODO]
  199. public bool IsDBNull (int ordinal)
  200. {
  201. throw new NotImplementedException ();
  202. }
  203. [MonoTODO]
  204. public bool NextResult ()
  205. {
  206. throw new NotImplementedException ();
  207. }
  208. [MonoTODO]
  209. public bool Read ()
  210. {
  211. throw new NotImplementedException ();
  212. }
  213. #endregion
  214. }
  215. }