2 // System.Data.Common.DbDataUpdatableRecord.cs
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2003
11 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
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:
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
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.
35 using System.ComponentModel;
37 namespace System.Data.Common {
38 public class DbDataUpdatableRecord : IDataUpdatableRecord, IDataRecord, ISetTypedData, ICustomTypeDescriptor, IGetTypedData
43 public virtual int FieldCount {
44 get { throw new NotImplementedException (); }
48 public virtual object this [string x] {
49 get { throw new NotImplementedException (); }
53 public virtual object this [int x] {
54 get { throw new NotImplementedException (); }
58 public virtual bool Updatable {
59 get { throw new NotImplementedException (); }
62 #endregion // Properties
68 public virtual bool GetBoolean (int i)
70 throw new NotImplementedException ();
74 public virtual byte GetByte (int i)
76 throw new NotImplementedException ();
80 public virtual long GetBytes (int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
82 throw new NotImplementedException ();
86 public virtual char GetChar (int i)
88 throw new NotImplementedException ();
92 public virtual long GetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length)
94 throw new NotImplementedException ();
98 public virtual IDataReader GetData (int i)
100 throw new NotImplementedException ();
104 public virtual string GetDataTypeName (int i)
106 throw new NotImplementedException ();
110 public virtual DateTime GetDateTime (int i)
112 throw new NotImplementedException ();
116 public virtual decimal GetDecimal (int i)
118 throw new NotImplementedException ();
122 public virtual double GetDouble (int i)
124 throw new NotImplementedException ();
128 public virtual Type GetFieldType (int i)
130 throw new NotImplementedException ();
134 public virtual float GetFloat (int i)
136 throw new NotImplementedException ();
140 public virtual Guid GetGuid (int i)
142 throw new NotImplementedException ();
146 public virtual short GetInt16 (int i)
148 throw new NotImplementedException ();
152 public virtual int GetInt32 (int i)
154 throw new NotImplementedException ();
158 public virtual long GetInt64 (int i)
160 throw new NotImplementedException ();
164 public virtual string GetName (int i)
166 throw new NotImplementedException ();
170 public virtual object GetObjectRef (int i)
172 throw new NotImplementedException ();
176 public virtual int GetOrdinal (string name)
178 throw new NotImplementedException ();
182 public virtual string GetString (int i)
184 throw new NotImplementedException ();
188 public virtual object GetValue (int i)
190 throw new NotImplementedException ();
194 public virtual int GetValues (object[] values)
196 throw new NotImplementedException ();
200 AttributeCollection ICustomTypeDescriptor.GetAttributes ()
202 throw new NotImplementedException ();
206 string ICustomTypeDescriptor.GetClassName ()
208 throw new NotImplementedException ();
212 string ICustomTypeDescriptor.GetComponentName ()
214 throw new NotImplementedException ();
218 TypeConverter ICustomTypeDescriptor.GetConverter ()
220 throw new NotImplementedException ();
224 EventDescriptor ICustomTypeDescriptor.GetDefaultEvent ()
226 throw new NotImplementedException ();
230 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty ()
232 throw new NotImplementedException ();
236 object ICustomTypeDescriptor.GetEditor (Type editorBaseType)
238 throw new NotImplementedException ();
242 EventDescriptorCollection ICustomTypeDescriptor.GetEvents ()
244 throw new NotImplementedException ();
248 EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes)
250 throw new NotImplementedException ();
254 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties ()
256 throw new NotImplementedException ();
260 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties (Attribute[] attributes)
262 throw new NotImplementedException ();
266 object ICustomTypeDescriptor.GetPropertyOwner (PropertyDescriptor pd)
268 throw new NotImplementedException ();
272 int IDataUpdatableRecord.SetValues (object[] values)
274 throw new NotImplementedException ();
278 public virtual bool IsDBNull (int i)
280 throw new NotImplementedException ();
284 public virtual bool IsSetAsDefault (int i)
286 throw new NotImplementedException ();
290 public virtual void SetBoolean (int i, bool value)
292 throw new NotImplementedException ();
296 public virtual void SetByte (int i, byte value)
298 throw new NotImplementedException ();
302 public virtual void SetBytes (int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
304 throw new NotImplementedException ();
308 public virtual void SetChar (int i, char value)
310 throw new NotImplementedException ();
314 public virtual void SetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length)
316 throw new NotImplementedException ();
320 public virtual void SetDateTime (int i, DateTime value)
322 throw new NotImplementedException ();
326 public virtual void SetDecimal (int i, decimal value)
328 throw new NotImplementedException ();
332 public virtual void SetDefault (int i)
334 throw new NotImplementedException ();
338 public virtual void SetDouble (int i, double value)
340 throw new NotImplementedException ();
344 public virtual void SetFloat (int i, float value)
346 throw new NotImplementedException ();
350 public virtual void SetGuid (int i, Guid value)
352 throw new NotImplementedException ();
356 public virtual void SetInt16 (int i, short value)
358 throw new NotImplementedException ();
362 public virtual void SetInt32 (int i, int value)
364 throw new NotImplementedException ();
368 public virtual void SetInt64 (int i, long value)
370 throw new NotImplementedException ();
374 public virtual void SetObjectRef (int i, object o)
376 throw new NotImplementedException ();
380 public virtual void SetString (int i, string value)
382 throw new NotImplementedException ();
386 public virtual void SetValue (int i, object value)
388 throw new NotImplementedException ();
392 public virtual int SetValues (int i, object[] value)
394 throw new NotImplementedException ();
397 #endregion // Methods