| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- //
- // System.Data.SqlClient.SqlDataReader.cs
- //
- // Author:
- // Rodrigo Moya ([email protected])
- // Daniel Morgan ([email protected])
- //
- // (C) Ximian, Inc 2002
- //
- using System;
- using System.Collections;
- using System.ComponentModel;
- using System.Data;
- namespace System.Data.SqlClient
- {
- /// <summary>
- /// Provides a means of reading one or more forward-only streams
- /// of result sets obtained by executing a command
- /// at a SQL database.
- /// </summary>
- //public sealed class SqlDataReader : MarshalByRefObject,
- // IEnumerable, IDataReader, IDisposable, IDataRecord
- public sealed class SqlDataReader : IEnumerable,
- IDataReader, IDataRecord
- {
- #region Fields
- private DataTable table = null;
- #endregion // Fields
- #region Public Methods
- [MonoTODO]
- public void Close()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public DataTable GetSchemaTable()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool NextResult()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool Read()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public byte GetByte(int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public long GetBytes(int i, long fieldOffset,
- byte[] buffer, int bufferOffset,
- int length)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public char GetChar(int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public long GetChars(int i, long fieldOffset,
- char[] buffer, int bufferOffset,
- 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 int GetOrdinal(string name)
- {
- 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 ();
- }
- [MonoTODO]
- public bool IsDBNull(int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public bool GetBoolean(int i)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public IEnumerator GetEnumerator() {
- throw new NotImplementedException ();
- }
- #endregion // Public Methods
- #region Destructors
- [MonoTODO]
- public void Dispose () {
- }
- [MonoTODO]
- ~SqlDataReader() {
- }
- #endregion // Destructors
- #region Properties
- public int Depth {
- [MonoTODO]
- get {
- throw new NotImplementedException ();
- }
- }
- public bool IsClosed {
- [MonoTODO]
- get {
- throw new NotImplementedException ();
- }
- }
- public int RecordsAffected {
- [MonoTODO]
- get {
- throw new NotImplementedException ();
- }
- }
-
- public int FieldCount {
- [MonoTODO]
- get {
- throw new NotImplementedException ();
- }
- }
- public object this[string name] {
- [MonoTODO]
- get {
- throw new NotImplementedException ();
- }
- }
- public object this[int i] {
- [MonoTODO]
- get
- {
- throw new NotImplementedException ();
- }
- }
- #endregion // Properties
- }
- }
|