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