2 // System.Data.SqlClient.SqlResultSet
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.
36 using System
.Collections
;
38 using System
.Data
.Sql
;
39 using System
.Data
.SqlTypes
;
41 namespace System
.Data
.SqlClient
{
42 public sealed class SqlResultSet
: MarshalByRefObject
, IEnumerable
, ISqlResultSet
, ISqlReader
, ISqlRecord
, ISqlGetTypedData
, IGetTypedData
, ISqlUpdatableRecord
, ISqlSetTypedData
, IDataReader
, IDisposable
, IDataUpdatableRecord
, IDataRecord
, ISetTypedData
53 get { throw new NotImplementedException (); }
56 public int FieldCount
{
57 get { throw new NotImplementedException (); }
61 get { throw new NotImplementedException (); }
64 public int HiddenFieldCount
{
65 get { throw new NotImplementedException (); }
68 object IDataRecord
.this [int x
] {
69 get { return this [x]; }
72 object IDataRecord
.this [string x
] {
73 get { return this [x]; }
76 public bool IsClosed
{
77 get { throw new NotImplementedException (); }
80 public object this [int index
] {
81 get { throw new NotImplementedException (); }
82 set { throw new NotImplementedException (); }
85 public object this [string name
] {
86 get { throw new NotImplementedException (); }
87 set { throw new NotImplementedException (); }
90 public int RecordsAffected
{
91 get { throw new NotImplementedException (); }
94 public bool Scrollable
{
95 get { throw new NotImplementedException (); }
98 public ResultSetSensitivity Sensitivity
{
99 get { throw new NotImplementedException (); }
102 public bool Updatable
{
103 get { throw new NotImplementedException (); }
106 #endregion // Properties
113 throw new NotImplementedException ();
117 public ISqlUpdatableRecord
CreateRecord ()
119 throw new NotImplementedException ();
123 public void Delete ()
125 throw new NotImplementedException ();
129 private void Dispose (bool disposing
)
140 public bool GetBoolean (int i
)
142 throw new NotImplementedException ();
146 public byte GetByte (int i
)
148 throw new NotImplementedException ();
152 public long GetBytes (int i
, long dataIndex
, byte[] buffer
, int bufferIndex
, int length
)
154 throw new NotImplementedException ();
158 public char GetChar (int i
)
160 throw new NotImplementedException ();
164 public long GetChars (int i
, long dataIndex
, char[] buffer
, int bufferIndex
, int length
)
166 throw new NotImplementedException ();
170 public IDataReader
GetData (int i
)
172 throw new NotImplementedException ();
176 public string GetDataTypeName (int i
)
178 throw new NotImplementedException ();
182 public DateTime
GetDateTime (int i
)
184 throw new NotImplementedException ();
188 public decimal GetDecimal (int i
)
190 throw new NotImplementedException ();
194 public double GetDouble (int i
)
196 throw new NotImplementedException ();
200 public Type
GetFieldType (int i
)
202 throw new NotImplementedException ();
206 public float GetFloat (int i
)
208 throw new NotImplementedException ();
212 public Guid
GetGuid (int i
)
214 throw new NotImplementedException ();
218 public short GetInt16 (int i
)
220 throw new NotImplementedException ();
224 public int GetInt32 (int i
)
226 throw new NotImplementedException ();
230 public long GetInt64 (int i
)
232 throw new NotImplementedException ();
236 public string GetName (int i
)
238 throw new NotImplementedException ();
242 public object GetObjectRef (int i
)
244 throw new NotImplementedException ();
248 public int GetOrdinal (string name
)
250 throw new NotImplementedException ();
254 public DataTable
GetSchemaTable ()
256 throw new NotImplementedException ();
260 public SqlBinary
GetSqlBinary (int i
)
262 throw new NotImplementedException ();
266 public SqlBoolean
GetSqlBoolean (int i
)
268 throw new NotImplementedException ();
272 public SqlByte
GetSqlByte (int i
)
274 throw new NotImplementedException ();
278 public SqlBytes
GetSqlBytes (int i
)
280 throw new NotImplementedException ();
284 public SqlBytes
GetSqlBytesRef (int i
)
286 throw new NotImplementedException ();
290 public SqlChars
GetSqlChars (int i
)
292 throw new NotImplementedException ();
296 public SqlChars
GetSqlCharsRef (int i
)
298 throw new NotImplementedException ();
302 public SqlDate
GetSqlDate (int i
)
304 throw new NotImplementedException ();
308 public SqlDateTime
GetSqlDateTime (int i
)
310 throw new NotImplementedException ();
314 public SqlDecimal
GetSqlDecimal (int i
)
316 throw new NotImplementedException ();
320 public SqlDouble
GetSqlDouble (int i
)
322 throw new NotImplementedException ();
326 public SqlGuid
GetSqlGuid (int i
)
328 throw new NotImplementedException ();
332 public SqlInt16
GetSqlInt16 (int i
)
334 throw new NotImplementedException ();
338 public SqlInt32
GetSqlInt32 (int i
)
340 throw new NotImplementedException ();
344 public SqlInt64
GetSqlInt64 (int i
)
346 throw new NotImplementedException ();
350 public SqlMetaData
GetSqlMetaData (int i
)
352 throw new NotImplementedException ();
356 public SqlMoney
GetSqlMoney (int i
)
358 throw new NotImplementedException ();
362 public SqlSingle
GetSqlSingle (int i
)
364 throw new NotImplementedException ();
368 public SqlString
GetSqlString (int i
)
370 throw new NotImplementedException ();
374 public SqlTime
GetSqlTime (int i
)
376 throw new NotImplementedException ();
380 public SqlUtcDateTime
GetSqlUtcDateTime (int i
)
382 throw new NotImplementedException ();
386 public object GetSqlValue (int i
)
388 throw new NotImplementedException ();
392 public int GetSqlValues (object[] values
)
394 throw new NotImplementedException ();
398 public SqlXmlReader
GetSqlXmlReader (int i
)
400 throw new NotImplementedException ();
404 public string GetString (int i
)
406 throw new NotImplementedException ();
410 public object GetValue (int i
)
412 throw new NotImplementedException ();
416 public int GetValues (object[] values
)
418 throw new NotImplementedException ();
421 void IDisposable
.Dispose ()
424 GC
.SuppressFinalize (this);
428 IEnumerator IEnumerable
.GetEnumerator ()
430 throw new NotImplementedException ();
434 public void Insert (ISqlRecord record
)
436 throw new NotImplementedException ();
440 public bool IsDBNull (int i
)
442 throw new NotImplementedException ();
446 public bool IsSetAsDefault (int i
)
448 throw new NotImplementedException ();
452 public bool NextResult ()
454 throw new NotImplementedException ();
460 throw new NotImplementedException ();
464 public bool ReadAbsolute (int position
)
466 throw new NotImplementedException ();
470 public bool ReadFirst ()
472 throw new NotImplementedException ();
476 public bool ReadLast ()
478 throw new NotImplementedException ();
482 public bool ReadPrevious ()
484 throw new NotImplementedException ();
488 public bool ReadRelative (int position
)
490 throw new NotImplementedException ();
494 public void SetBoolean (int i
, bool value)
496 throw new NotImplementedException ();
500 public void SetByte (int i
, byte value)
502 throw new NotImplementedException ();
506 public void SetBytes (int i
, long dataIndex
, byte[] buffer
, int bufferIndex
, int length
)
508 throw new NotImplementedException ();
512 public void SetChar (int i
, char value)
514 throw new NotImplementedException ();
518 public void SetChars (int i
, long dataIndex
, char[] buffer
, int bufferIndex
, int length
)
520 throw new NotImplementedException ();
524 public void SetDateTime (int i
, DateTime
value)
526 throw new NotImplementedException ();
530 public void SetDecimal (int i
, decimal value)
532 throw new NotImplementedException ();
536 public void SetDefault (int i
)
538 throw new NotImplementedException ();
542 public void SetDouble (int i
, double value)
544 throw new NotImplementedException ();
548 public void SetFloat (int i
, float value)
550 throw new NotImplementedException ();
554 public void SetGuid (int i
, Guid
value)
556 throw new NotImplementedException ();
560 public void SetInt16 (int i
, short value)
562 throw new NotImplementedException ();
566 public void SetInt32 (int i
, int value)
568 throw new NotImplementedException ();
572 public void SetInt64 (int i
, long value)
574 throw new NotImplementedException ();
578 public void SetObjectRef (int i
, object buffer
)
580 throw new NotImplementedException ();
584 public void SetSqlBinary (int i
, SqlBinary
value)
586 throw new NotImplementedException ();
590 public void SetSqlBoolean (int i
, SqlBoolean
value)
592 throw new NotImplementedException ();
596 public void SetSqlByte (int i
, SqlByte
value)
598 throw new NotImplementedException ();
602 public void SetSqlBytes (int i
, SqlBytes
value)
604 throw new NotImplementedException ();
608 public void SetSqlBytesRef (int i
, SqlBytes
value)
610 throw new NotImplementedException ();
614 public void SetSqlChars (int i
, SqlChars
value)
616 throw new NotImplementedException ();
620 public void SetSqlCharsRef (int i
, SqlChars
value)
622 throw new NotImplementedException ();
626 public void SetSqlDate (int i
, SqlDate
value)
628 throw new NotImplementedException ();
632 public void SetSqlDateTime (int i
, SqlDateTime
value)
634 throw new NotImplementedException ();
638 public void SetSqlDecimal (int i
, SqlDecimal
value)
640 throw new NotImplementedException ();
644 public void SetSqlDouble (int i
, SqlDouble
value)
646 throw new NotImplementedException ();
650 public void SetSqlGuid (int i
, SqlGuid
value)
652 throw new NotImplementedException ();
656 public void SetSqlInt16 (int i
, SqlInt16
value)
658 throw new NotImplementedException ();
662 public void SetSqlInt32 (int i
, SqlInt32
value)
664 throw new NotImplementedException ();
668 public void SetSqlInt64 (int i
, SqlInt64
value)
670 throw new NotImplementedException ();
674 public void SetSqlMoney (int i
, SqlMoney
value)
676 throw new NotImplementedException ();
680 public void SetSqlSingle (int i
, SqlSingle
value)
682 throw new NotImplementedException ();
686 public void SetSqlString (int i
, SqlString
value)
688 throw new NotImplementedException ();
692 public void SetSqlTime (int i
, SqlTime
value)
694 throw new NotImplementedException ();
698 public void SetSqlUtcDateTime (int i
, SqlUtcDateTime
value)
700 throw new NotImplementedException ();
704 public void SetSqlXmlReader (int i
, SqlXmlReader
value)
706 throw new NotImplementedException ();
710 public void SetString (int i
, string value)
712 throw new NotImplementedException ();
716 public void SetValue (int i
, object value)
718 throw new NotImplementedException ();
722 public int SetValues (object[] value)
724 throw new NotImplementedException ();
728 public void Update ()
730 throw new NotImplementedException ();
734 #endregion // Methods