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