[ Team LiB ] Previous Section Next Section

OleDbDataReader marshal by reference, disposable

System.Data.OleDb (system.data.dll) sealed class

This class represents a forward-only, read-only cursor that reads data from an OLE DB data source and allows you to access it one record at a time. For information about the basic OleDbDataReader methods and properties, refer to the reference for the System.Data.IDataReader and System.Data.IDataRecord interfaces, which OleDbDataReader implements.

public sealed class OleDbDataReader : MarshalByRefObject , System.Data.IDataReader, IDisposable, System.Data.
        IDataRecord, IEnumerable {
// Public Instance Properties
   public int Depth{get; }                          // implements System.Data.IDataReader
   public int FieldCount{get; }                      // implements System.Data.IDataRecord
   public bool HasRows{get; } 
   public bool IsClosed{get; }                         // implements System.Data.IDataReader
   public int RecordsAffected{get; }                // implements System.Data.IDataReader
   public object this[string name]{get; }                                   // implements System.Data.IDataRecord
   public object this[int index]{get; }                                   // implements System.Data.IDataRecord
// Public Instance Methods
   public void Close(  );                             // implements System.Data.IDataReader
   public bool GetBoolean( int ordinal);       // implements System.Data.IDataRecord
   public byte GetByte( int ordinal);          // implements System.Data.IDataRecord
   public long GetBytes(int ordinal, long dataIndex, byte[  ] buffer, int bufferIndex, int length);
     // implements System.Data.IDataRecord
   public char GetChar( int ordinal);          // implements System.Data.IDataRecord
   public long GetChars(int ordinal, long dataIndex, char[  ] buffer, int bufferIndex, int length);
  // implements System.Data.IDataRecord
   public OleDbDataReader GetData( int ordinal);  
   public string GetDataTypeName( int index);          // implements System.Data.IDataRecord
   public DateTime GetDateTime( int ordinal);            // implements System.Data.IDataRecord
   public decimal GetDecimal( int ordinal);           // implements System.Data.IDataRecord
   public double GetDouble( int ordinal);               // implements System.Data.IDataRecord
   public Type GetFieldType( int index);               // implements System.Data.IDataRecord
   public float GetFloat( int ordinal);                  // implements System.Data.IDataRecord
   public Guid GetGuid( int ordinal);                 // implements System.Data.IDataRecord
   public short GetInt16( int ordinal);             // implements System.Data.IDataRecord
   public int GetInt32( int ordinal);               // implements System.Data.IDataRecord
   public long GetInt64( int ordinal);               // implements System.Data.IDataRecord
   public string GetName( int index);             // implements System.Data.IDataRecord
   public int GetOrdinal( string name);        // implements System.Data.IDataRecord
   public DataTable GetSchemaTable(  );                // implements System.Data.IDataReader
   public string GetString( int ordinal);       // implements System.Data.IDataRecord
   public TimeSpan GetTimeSpan( int ordinal);  
   public object GetValue( int ordinal);            // implements System.Data.IDataRecord
   public int GetValues( object[  ] values);        // implements System.Data.IDataRecord
   public bool IsDBNull( int ordinal);             // implements System.Data.IDataRecord
   public bool NextResult(  );                         // implements System.Data.IDataReader
   public bool Read(  );                             // implements System.Data.IDataReader
// Protected Instance Methods
   protected override void Finalize(  );             // overrides object
}

Hierarchy

System.Object figs/U2192.gif System.MarshalByRefObject figs/U2192.gif OleDbDataReader(System.Data.IDataReader, System.IDisposable , System.Data.IDataRecord , System.Collections.IEnumerable)

Returned By

OleDbCommand.ExecuteReader( )

    [ Team LiB ] Previous Section Next Section