2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
[mono.git] / mcs / class / System.Data / System.Data.SqlClient / SqlDataReader.cs
1 //
2 // System.Data.SqlClient.SqlDataReader.cs
3 //
4 // Author:
5 //   Rodrigo Moya (rodrigo@ximian.com)
6 //   Daniel Morgan (danmorg@sc.rr.com)
7 //
8 // (C) Ximian, Inc 2002
9 //
10 using System;
11 using System.Collections;
12 using System.ComponentModel;
13 using System.Data;
14
15 namespace System.Data.SqlClient
16 {
17         /// <summary>
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.
21         /// </summary>
22         //public sealed class SqlDataReader : MarshalByRefObject,
23         //      IEnumerable, IDataReader, IDisposable, IDataRecord
24         public sealed class SqlDataReader : IEnumerable, 
25                 IDataReader, IDataRecord
26         {
27                 #region Fields
28
29                 private DataTable table = null;
30
31                 #endregion // Fields
32
33                 #region Public Methods
34
35                 [MonoTODO]
36                 public void Close()
37                 {
38                         throw new NotImplementedException ();
39                 }
40
41                 [MonoTODO]
42                 public DataTable GetSchemaTable()
43                 {
44                         throw new NotImplementedException ();
45                 }
46
47                 [MonoTODO]
48                 public bool NextResult()
49                 {
50                         throw new NotImplementedException ();
51                 }
52
53                 [MonoTODO]
54                 public bool Read()
55                 {
56                         throw new NotImplementedException ();
57                 }
58
59                 [MonoTODO]
60                 public byte GetByte(int i)
61                 {
62                         throw new NotImplementedException ();
63                 }
64
65                 [MonoTODO]
66                 public long GetBytes(int i, long fieldOffset, 
67                         byte[] buffer, int bufferOffset, 
68                         int length)
69                 {
70                         throw new NotImplementedException ();
71                 }
72
73                 [MonoTODO]
74                 public char GetChar(int i)
75                 {
76                         throw new NotImplementedException ();
77                 }
78
79                 [MonoTODO]
80                 public long GetChars(int i, long fieldOffset, 
81                         char[] buffer, int bufferOffset, 
82                         int length)
83                 {
84                         throw new NotImplementedException ();
85                 }
86
87                 [MonoTODO]
88                 public IDataReader GetData(int i)
89                 {
90                         throw new NotImplementedException ();
91                 }
92
93                 [MonoTODO]
94                 public string GetDataTypeName(int i)
95                 {
96                         throw new NotImplementedException ();
97                 }
98
99                 [MonoTODO]
100                 public DateTime GetDateTime(int i)
101                 {
102                         throw new NotImplementedException ();
103                 }
104
105                 [MonoTODO]
106                 public decimal GetDecimal(int i)
107                 {
108                         throw new NotImplementedException ();
109                 }
110
111                 [MonoTODO]
112                 public double GetDouble(int i)
113                 {
114                         throw new NotImplementedException ();
115                 }
116
117                 [MonoTODO]
118                 public Type GetFieldType(int i)
119                 {
120                         throw new NotImplementedException ();
121                 }
122
123                 [MonoTODO]
124                 public float GetFloat(int i)
125                 {
126                         throw new NotImplementedException ();
127                 }
128
129                 [MonoTODO]
130                 public Guid GetGuid(int i)
131                 {
132                         throw new NotImplementedException ();
133                 }
134
135                 [MonoTODO]
136                 public short GetInt16(int i)
137                 {
138                         throw new NotImplementedException ();
139                 }
140
141                 [MonoTODO]
142                 public int GetInt32(int i)
143                 {
144                         throw new NotImplementedException ();
145                 }
146
147                 [MonoTODO]
148                 public long GetInt64(int i)
149                 {
150                         throw new NotImplementedException ();
151                 }
152
153                 [MonoTODO]
154                 public string GetName(int i)
155                 {
156                         throw new NotImplementedException ();
157                 }
158
159                 [MonoTODO]
160                 public int GetOrdinal(string name)
161                 {
162                         throw new NotImplementedException ();
163                 }
164
165                 [MonoTODO]
166                 public string GetString(int i)
167                 {
168                         throw new NotImplementedException ();
169                 }
170
171                 [MonoTODO]
172                 public object GetValue(int i)
173                 {
174                         throw new NotImplementedException ();
175                 }
176
177                 [MonoTODO]
178                 public int GetValues(object[] values)
179                 {
180                         throw new NotImplementedException ();
181                 }
182
183                 [MonoTODO]
184                 public bool IsDBNull(int i)
185                 {
186                         throw new NotImplementedException ();
187                 }
188
189                 [MonoTODO]
190                 public bool GetBoolean(int i)
191                 {
192                         throw new NotImplementedException ();
193                 }
194
195                 [MonoTODO]
196                 public IEnumerator GetEnumerator() {
197                         throw new NotImplementedException ();
198                 }
199
200                 #endregion // Public Methods
201
202                 #region Destructors
203
204                 [MonoTODO]
205                 public void Dispose () {
206                 }
207
208                 [MonoTODO]
209                 ~SqlDataReader() {
210                 }
211
212                 #endregion // Destructors
213
214
215                 #region Properties
216
217                 public int Depth {
218                         [MonoTODO]
219                         get { 
220                                 throw new NotImplementedException (); 
221                         }
222                 }
223
224                 public bool IsClosed {
225                         [MonoTODO]
226                         get {
227                                 throw new NotImplementedException (); 
228                         }
229                 }
230
231                 public int RecordsAffected {
232                         [MonoTODO]
233                         get { 
234                                 throw new NotImplementedException (); 
235                         }
236                 }
237         
238                 public int FieldCount {
239                         [MonoTODO]
240                         get { 
241                                 throw new NotImplementedException ();
242                         }
243                 }
244
245                 public object this[string name] {
246                         [MonoTODO]
247                         get { 
248                                 throw new NotImplementedException ();
249                         }
250                 }
251
252                 public object this[int i] {
253                         [MonoTODO]
254                         get 
255                         { 
256                                 throw new NotImplementedException ();
257                         }
258                 }
259
260                 #endregion // Properties
261         }
262 }