Copied remotely
[mono.git] / mcs / class / System.Data / System.Data.Common / DbDataUpdatableRecord.cs
1 //
2 // System.Data.Common.DbDataUpdatableRecord.cs
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
9
10 //
11 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
12 //
13 // Permission is hereby granted, free of charge, to any person obtaining
14 // a copy of this software and associated documentation files (the
15 // "Software"), to deal in the Software without restriction, including
16 // without limitation the rights to use, copy, modify, merge, publish,
17 // distribute, sublicense, and/or sell copies of the Software, and to
18 // permit persons to whom the Software is furnished to do so, subject to
19 // the following conditions:
20 // 
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
23 // 
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 //
32
33 #if NET_2_0
34
35 using System.ComponentModel;
36
37 namespace System.Data.Common {
38         public class DbDataUpdatableRecord : IDataUpdatableRecord, IDataRecord, ISetTypedData, ICustomTypeDescriptor, IGetTypedData
39         {
40                 #region Properties
41
42                 [MonoTODO]
43                 public virtual int FieldCount {
44                         get { throw new NotImplementedException (); }
45                 }
46
47                 [MonoTODO]
48                 public virtual object this [string x] {
49                         get { throw new NotImplementedException (); }
50                 }
51
52                 [MonoTODO]
53                 public virtual object this [int x] {
54                         get { throw new NotImplementedException (); }
55                 }
56
57                 [MonoTODO]
58                 public virtual bool Updatable {
59                         get { throw new NotImplementedException (); }
60                 }
61
62                 #endregion // Properties
63
64                 #region Methods
65
66
67                 [MonoTODO]
68                 public virtual bool GetBoolean (int i)
69                 {
70                         throw new NotImplementedException ();
71                 }
72
73                 [MonoTODO]
74                 public virtual byte GetByte (int i)
75                 {
76                         throw new NotImplementedException ();
77                 }
78
79                 [MonoTODO]
80                 public virtual long GetBytes (int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
81                 {
82                         throw new NotImplementedException ();
83                 }
84
85                 [MonoTODO]
86                 public virtual char GetChar (int i)
87                 {
88                         throw new NotImplementedException ();
89                 }
90
91                 [MonoTODO]
92                 public virtual long GetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length)
93                 {
94                         throw new NotImplementedException ();
95                 }
96
97                 [MonoTODO]
98                 public virtual IDataReader GetData (int i)
99                 {
100                         throw new NotImplementedException ();
101                 }
102
103                 [MonoTODO]
104                 public virtual string GetDataTypeName (int i)
105                 {
106                         throw new NotImplementedException ();
107                 }
108
109                 [MonoTODO]
110                 public virtual DateTime GetDateTime (int i)
111                 {
112                         throw new NotImplementedException ();
113                 }
114
115                 [MonoTODO]
116                 public virtual decimal GetDecimal (int i)
117                 {
118                         throw new NotImplementedException ();
119                 }
120
121                 [MonoTODO]
122                 public virtual double GetDouble (int i)
123                 {
124                         throw new NotImplementedException ();
125                 }
126
127                 [MonoTODO]
128                 public virtual Type GetFieldType (int i)
129                 {
130                         throw new NotImplementedException ();
131                 }
132
133                 [MonoTODO]
134                 public virtual float GetFloat (int i)
135                 {
136                         throw new NotImplementedException ();
137                 }
138
139                 [MonoTODO]
140                 public virtual Guid GetGuid (int i)
141                 {
142                         throw new NotImplementedException ();
143                 }
144
145                 [MonoTODO]
146                 public virtual short GetInt16 (int i)
147                 {
148                         throw new NotImplementedException ();
149                 }
150
151                 [MonoTODO]
152                 public virtual int GetInt32 (int i)
153                 {
154                         throw new NotImplementedException ();
155                 }
156
157                 [MonoTODO]
158                 public virtual long GetInt64 (int i)
159                 {
160                         throw new NotImplementedException ();
161                 }
162
163                 [MonoTODO]
164                 public virtual string GetName (int i)
165                 {
166                         throw new NotImplementedException ();
167                 }
168
169                 [MonoTODO]
170                 public virtual object GetObjectRef (int i)
171                 {
172                         throw new NotImplementedException ();
173                 }
174
175                 [MonoTODO]
176                 public virtual int GetOrdinal (string name)
177                 {
178                         throw new NotImplementedException ();
179                 }
180
181                 [MonoTODO]
182                 public virtual string GetString (int i)
183                 {
184                         throw new NotImplementedException ();
185                 }
186
187                 [MonoTODO]
188                 public virtual object GetValue (int i)
189                 {
190                         throw new NotImplementedException ();
191                 }
192
193                 [MonoTODO]
194                 public virtual int GetValues (object[] values)
195                 {
196                         throw new NotImplementedException ();
197                 }
198
199                 [MonoTODO]
200                 AttributeCollection ICustomTypeDescriptor.GetAttributes ()
201                 {
202                         throw new NotImplementedException ();
203                 }
204
205                 [MonoTODO]
206                 string ICustomTypeDescriptor.GetClassName ()
207                 {
208                         throw new NotImplementedException ();
209                 }
210
211                 [MonoTODO]
212                 string ICustomTypeDescriptor.GetComponentName ()
213                 {
214                         throw new NotImplementedException ();
215                 }
216
217                 [MonoTODO]
218                 TypeConverter ICustomTypeDescriptor.GetConverter ()
219                 {
220                         throw new NotImplementedException ();
221                 }
222
223                 [MonoTODO]
224                 EventDescriptor ICustomTypeDescriptor.GetDefaultEvent ()
225                 {
226                         throw new NotImplementedException ();
227                 }
228
229                 [MonoTODO]
230                 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty ()
231                 {
232                         throw new NotImplementedException ();
233                 }
234
235                 [MonoTODO]
236                 object ICustomTypeDescriptor.GetEditor (Type editorBaseType)
237                 {
238                         throw new NotImplementedException ();
239                 }
240
241                 [MonoTODO]
242                 EventDescriptorCollection ICustomTypeDescriptor.GetEvents ()
243                 {
244                         throw new NotImplementedException ();
245                 }
246
247                 [MonoTODO]
248                 EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes)
249                 {
250                         throw new NotImplementedException ();
251                 }
252
253                 [MonoTODO]
254                 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties ()
255                 {
256                         throw new NotImplementedException ();
257                 }
258
259                 [MonoTODO]
260                 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties (Attribute[] attributes)
261                 {
262                         throw new NotImplementedException ();
263                 }
264
265                 [MonoTODO]
266                 object ICustomTypeDescriptor.GetPropertyOwner (PropertyDescriptor pd)
267                 {
268                         throw new NotImplementedException ();
269                 }
270
271                 [MonoTODO]
272                 int IDataUpdatableRecord.SetValues (object[] values)
273                 {
274                         throw new NotImplementedException ();
275                 }
276
277                 [MonoTODO]
278                 public virtual bool IsDBNull (int i)
279                 {
280                         throw new NotImplementedException ();
281                 }
282
283                 [MonoTODO]
284                 public virtual bool IsSetAsDefault (int i)
285                 {
286                         throw new NotImplementedException ();
287                 }
288
289                 [MonoTODO]
290                 public virtual void SetBoolean (int i, bool value)
291                 {
292                         throw new NotImplementedException ();
293                 }
294
295                 [MonoTODO]
296                 public virtual void SetByte (int i, byte value)
297                 {
298                         throw new NotImplementedException ();
299                 }
300
301                 [MonoTODO]
302                 public virtual void SetBytes (int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
303                 {
304                         throw new NotImplementedException ();
305                 }
306
307                 [MonoTODO]
308                 public virtual void SetChar (int i, char value)
309                 {
310                         throw new NotImplementedException ();
311                 }
312
313                 [MonoTODO]
314                 public virtual void SetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length)
315                 {
316                         throw new NotImplementedException ();
317                 }
318
319                 [MonoTODO]
320                 public virtual void SetDateTime (int i, DateTime value)
321                 {
322                         throw new NotImplementedException ();
323                 }
324
325                 [MonoTODO]
326                 public virtual void SetDecimal (int i, decimal value)
327                 {
328                         throw new NotImplementedException ();
329                 }
330
331                 [MonoTODO]
332                 public virtual void SetDefault (int i)
333                 {
334                         throw new NotImplementedException ();
335                 }
336
337                 [MonoTODO]
338                 public virtual void SetDouble (int i, double value)
339                 {
340                         throw new NotImplementedException ();
341                 }
342
343                 [MonoTODO]
344                 public virtual void SetFloat (int i, float value)
345                 {
346                         throw new NotImplementedException ();
347                 }
348
349                 [MonoTODO]
350                 public virtual void SetGuid (int i, Guid value)
351                 {
352                         throw new NotImplementedException ();
353                 }
354
355                 [MonoTODO]
356                 public virtual void SetInt16 (int i, short value)
357                 {
358                         throw new NotImplementedException ();
359                 }
360
361                 [MonoTODO]
362                 public virtual void SetInt32 (int i, int value)
363                 {
364                         throw new NotImplementedException ();
365                 }
366
367                 [MonoTODO]
368                 public virtual void SetInt64 (int i, long value)
369                 {
370                         throw new NotImplementedException ();
371                 }
372
373                 [MonoTODO]
374                 public virtual void SetObjectRef (int i, object o)
375                 {
376                         throw new NotImplementedException ();
377                 }
378
379                 [MonoTODO]
380                 public virtual void SetString (int i, string value)
381                 {
382                         throw new NotImplementedException ();
383                 }
384
385                 [MonoTODO]
386                 public virtual void SetValue (int i, object value)
387                 {
388                         throw new NotImplementedException ();
389                 }
390
391                 [MonoTODO]
392                 public virtual int SetValues (int i, object[] value)
393                 {
394                         throw new NotImplementedException ();
395                 }
396
397                 #endregion // Methods
398         }
399 }
400
401 #endif // NET_2_0