2 // System.Data.SqlClient.SqlDataReader.cs
5 // Rodrigo Moya (rodrigo@ximian.com)
6 // Daniel Morgan (danmorg@sc.rr.com)
8 // (C) Ximian, Inc 2002
11 using System.Collections;
12 using System.ComponentModel;
15 namespace System.Data.SqlClient
18 /// Provides a means of reading one or more forward-only streams
19 /// of result sets obtained by executing a command
20 /// at a SQL database.
22 //public sealed class SqlDataReader : MarshalByRefObject,
23 // IEnumerable, IDataReader, IDisposable, IDataRecord
24 public sealed class SqlDataReader : IEnumerable,
25 IDataReader, IDataRecord
29 private DataTable table = null;
33 #region Public Methods
38 throw new NotImplementedException ();
42 public DataTable GetSchemaTable()
44 throw new NotImplementedException ();
48 public bool NextResult()
50 throw new NotImplementedException ();
56 throw new NotImplementedException ();
60 public byte GetByte(int i)
62 throw new NotImplementedException ();
66 public long GetBytes(int i, long fieldOffset,
67 byte[] buffer, int bufferOffset,
70 throw new NotImplementedException ();
74 public char GetChar(int i)
76 throw new NotImplementedException ();
80 public long GetChars(int i, long fieldOffset,
81 char[] buffer, int bufferOffset,
84 throw new NotImplementedException ();
88 public IDataReader GetData(int i)
90 throw new NotImplementedException ();
94 public string GetDataTypeName(int i)
96 throw new NotImplementedException ();
100 public DateTime GetDateTime(int i)
102 throw new NotImplementedException ();
106 public decimal GetDecimal(int i)
108 throw new NotImplementedException ();
112 public double GetDouble(int i)
114 throw new NotImplementedException ();
118 public Type GetFieldType(int i)
120 throw new NotImplementedException ();
124 public float GetFloat(int i)
126 throw new NotImplementedException ();
130 public Guid GetGuid(int i)
132 throw new NotImplementedException ();
136 public short GetInt16(int i)
138 throw new NotImplementedException ();
142 public int GetInt32(int i)
144 throw new NotImplementedException ();
148 public long GetInt64(int i)
150 throw new NotImplementedException ();
154 public string GetName(int i)
156 throw new NotImplementedException ();
160 public int GetOrdinal(string name)
162 throw new NotImplementedException ();
166 public string GetString(int i)
168 throw new NotImplementedException ();
172 public object GetValue(int i)
174 throw new NotImplementedException ();
178 public int GetValues(object[] values)
180 throw new NotImplementedException ();
184 public bool IsDBNull(int i)
186 throw new NotImplementedException ();
190 public bool GetBoolean(int i)
192 throw new NotImplementedException ();
196 public IEnumerator GetEnumerator() {
197 throw new NotImplementedException ();
200 #endregion // Public Methods
205 public void Dispose () {
212 #endregion // Destructors
220 throw new NotImplementedException ();
224 public bool IsClosed {
227 throw new NotImplementedException ();
231 public int RecordsAffected {
234 throw new NotImplementedException ();
238 public int FieldCount {
241 throw new NotImplementedException ();
245 public object this[string name] {
248 throw new NotImplementedException ();
252 public object this[int i] {
256 throw new NotImplementedException ();
260 #endregion // Properties