| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738 |
- //
- // System.Data.SqlClient.SqlResultSet
- //
- // Author:
- // Tim Coleman ([email protected])
- //
- // Copyright (C) Tim Coleman, 2003
- //
- //
- // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
- //
- // Permission is hereby granted, free of charge, to any person obtaining
- // a copy of this software and associated documentation files (the
- // "Software"), to deal in the Software without restriction, including
- // without limitation the rights to use, copy, modify, merge, publish,
- // distribute, sublicense, and/or sell copies of the Software, and to
- // permit persons to whom the Software is furnished to do so, subject to
- // the following conditions:
- //
- // The above copyright notice and this permission notice shall be
- // included in all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- //
- #if NET_2_0
- using System;
- using System.Collections;
- using System.Data;
- using System.Data.Sql;
- using System.Data.SqlTypes;
- namespace System.Data.SqlClient {
- public sealed class SqlResultSet : MarshalByRefObject, IEnumerable, ISqlResultSet, ISqlReader, ISqlRecord, ISqlGetTypedData, IGetTypedData, ISqlUpdatableRecord, ISqlSetTypedData, IDataReader, IDisposable, IDataUpdatableRecord, IDataRecord, ISetTypedData
- {
- #region Fields
- bool disposed;
- #endregion // Fields
- #region Properties
- public int Depth {
- get { throw new NotImplementedException (); }
- }
- public int FieldCount {
- get { throw new NotImplementedException (); }
- }
-
- public bool HasRows {
- get { throw new NotImplementedException (); }
- }
- public int HiddenFieldCount {
- get { throw new NotImplementedException (); }
- }
- object IDataRecord.this [int x] {
- get { return this [x]; }
- }
- object IDataRecord.this [string x] {
- get { return this [x]; }
- }
- public bool IsClosed {
- get { throw new NotImplementedException (); }
- }
- public object this [int index] {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
- public object this [string name] {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
- public int RecordsAffected {
- get { throw new NotImplementedException (); }
- }
- public bool Scrollable {
- get { throw new NotImplementedException (); }
- }
- public ResultSetSensitivity Sensitivity {
- get { throw new NotImplementedException (); }
- }
- public bool Updatable {
- get { throw new NotImplementedException (); }
- }
- #endregion // Properties
- #region Methods
- [MonoTODO]
- public void Close ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public ISqlUpdatableRecord CreateRecord ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void Delete ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- private void Dispose (bool disposing)
- {
- if (!disposed) {
- if (disposing) {
- Close ();
- }
- disposed = true;
- }
- }
- [MonoTODO]
- public bool GetBoolean (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public byte GetByte (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public long GetBytes (int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public char GetChar (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public long GetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public IDataReader GetData (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public string GetDataTypeName (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public DateTime GetDateTime (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public decimal GetDecimal (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public double GetDouble (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public Type GetFieldType (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public float GetFloat (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public Guid GetGuid (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public short GetInt16 (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public int GetInt32 (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public long GetInt64 (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public string GetName (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public object GetObjectRef (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public int GetOrdinal (string name)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public DataTable GetSchemaTable ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlBinary GetSqlBinary (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlBoolean GetSqlBoolean (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlByte GetSqlByte (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlBytes GetSqlBytes (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlBytes GetSqlBytesRef (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlChars GetSqlChars (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlChars GetSqlCharsRef (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlDate GetSqlDate (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlDateTime GetSqlDateTime (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlDecimal GetSqlDecimal (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlDouble GetSqlDouble (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlGuid GetSqlGuid (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlInt16 GetSqlInt16 (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlInt32 GetSqlInt32 (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlInt64 GetSqlInt64 (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlMetaData GetSqlMetaData (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlMoney GetSqlMoney (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlSingle GetSqlSingle (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlString GetSqlString (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlTime GetSqlTime (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlUtcDateTime GetSqlUtcDateTime (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public object GetSqlValue (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public int GetSqlValues (object[] values)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public SqlXmlReader GetSqlXmlReader (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public string GetString (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public object GetValue (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public int GetValues (object[] values)
- {
- throw new NotImplementedException ();
- }
- void IDisposable.Dispose ()
- {
- Dispose (true);
- GC.SuppressFinalize (this);
- }
- [MonoTODO]
- IEnumerator IEnumerable.GetEnumerator ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void Insert (ISqlRecord record)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool IsDBNull (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool IsSetAsDefault (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool NextResult ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool Read ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool ReadAbsolute (int position)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool ReadFirst ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool ReadLast ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool ReadPrevious ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool ReadRelative (int position)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetBoolean (int i, bool value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetByte (int i, byte value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetBytes (int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetChar (int i, char value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetDateTime (int i, DateTime value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetDecimal (int i, decimal value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetDefault (int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetDouble (int i, double value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetFloat (int i, float value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetGuid (int i, Guid value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetInt16 (int i, short value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetInt32 (int i, int value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetInt64 (int i, long value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetObjectRef (int i, object buffer)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlBinary (int i, SqlBinary value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlBoolean (int i, SqlBoolean value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlByte (int i, SqlByte value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlBytes (int i, SqlBytes value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlBytesRef (int i, SqlBytes value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlChars (int i, SqlChars value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlCharsRef (int i, SqlChars value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlDate (int i, SqlDate value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlDateTime (int i, SqlDateTime value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlDecimal (int i, SqlDecimal value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlDouble (int i, SqlDouble value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlGuid (int i, SqlGuid value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlInt16 (int i, SqlInt16 value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlInt32 (int i, SqlInt32 value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlInt64 (int i, SqlInt64 value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlMoney (int i, SqlMoney value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlSingle (int i, SqlSingle value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlString (int i, SqlString value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlTime (int i, SqlTime value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlUtcDateTime (int i, SqlUtcDateTime value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetSqlXmlReader (int i, SqlXmlReader value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetString (int i, string value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void SetValue (int i, object value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public int SetValues (object[] value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void Update ()
- {
- throw new NotImplementedException ();
- }
- #endregion // Methods
- }
- }
- #endif
|