RefCountingDataReader Class

An implementation of IDataReader which also properly cleans up the reference count on the given inner DatabaseConnectionWrapper when the reader is closed or disposed.

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

Syntax

'Declaration
Public Class RefCountingDataReader _
    Inherits DataReaderWrapper
public class RefCountingDataReader : DataReaderWrapper
public ref class RefCountingDataReader : public DataReaderWrapper
public class RefCountingDataReader extends DataReaderWrapper

Inheritance Hierarchy

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

See Also

RefCountingDataReader Members

Microsoft.Practices.EnterpriseLibrary.Data Namespace