Share via


DataReaderWrapper Class

Wrapper class that implements a pass through version of IDataReader. Useful for various places where we need to wrap data readers for connection management.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
Public MustInherit Class DataReaderWrapper _
    Inherits MarshalByRefObject _
    Implements IDataReader, IDisposable, IDataRecord
public abstract class DataReaderWrapper : MarshalByRefObject, 
    IDataReader, IDisposable, IDataRecord
public ref class DataReaderWrapper abstract : public MarshalByRefObject, 
    IDataReader, IDisposable, IDataRecord
public abstract class DataReaderWrapper extends MarshalByRefObject implements IDataReader, IDisposable, IDataRecord

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.Practices.EnterpriseLibrary.Data.DataReaderWrapper
      Microsoft.Practices.EnterpriseLibrary.Data.Oracle.OracleDataReaderWrapper
      Microsoft.Practices.EnterpriseLibrary.Data.RefCountingDataReader

See Also

DataReaderWrapper Members

Microsoft.Practices.EnterpriseLibrary.Data Namespace