Share via


RefCountingDataReader Members

Include Protected Members
Include Inherited Members

The RefCountingDataReader type exposes the following members.

Constructors

  Name Description
Ff665635.pubmethod(en-us,PandP.50).gif RefCountingDataReader
Create a new RefCountingDataReader that wraps the given innerReader and properly cleans the refcount on the given connection when done.

Methods

  Name Description
Ff665635.pubmethod(en-us,PandP.50).gif Close
Closes the IDataReader Object.
(Overrides DataReaderWrapper.Close().)
Ff665635.pubmethod(en-us,PandP.50).gif CreateObjRef (Inherited from MarshalByRefObject.)
Ff665635.pubmethod(en-us,PandP.50).gif Dispose Overloaded.
Ff665635.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ff665635.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ff665635.pubmethod(en-us,PandP.50).gif GetBoolean
Gets the value of the specified column as a Boolean.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetByte
Gets the 8-bit unsigned integer value of the specified column.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetBytes
Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetChar
Gets the character value of the specified column.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetChars
Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetData
Returns an IDataReader for the specified column ordinal.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetDataTypeName
Gets the data type information for the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetDateTime
Gets the date and time data value of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetDecimal
Gets the fixed-position numeric value of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetDouble
Gets the double-precision floating point number of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetFieldType
Gets the Type information corresponding to the type of Object that would be returned from GetValue(Int32).
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetFloat
Gets the single-precision floating point number of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetGuid
Returns the GUID value of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ff665635.pubmethod(en-us,PandP.50).gif GetInt16
Gets the 16-bit signed integer value of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetInt32
Gets the 32-bit signed integer value of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetInt64
Gets the 64-bit signed integer value of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetLifetimeService (Inherited from MarshalByRefObject.)
Ff665635.pubmethod(en-us,PandP.50).gif GetName
Gets the name for the field to find.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetOrdinal
Return the index of the named field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetSchemaTable
Returns a DataTable that describes the column metadata of the IDataReader.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetString
Gets the string value of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ff665635.pubmethod(en-us,PandP.50).gif GetValue
Return the value of the specified field.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif GetValues
Gets all the attribute fields in the collection for the current record.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif InitializeLifetimeService (Inherited from MarshalByRefObject.)
Ff665635.pubmethod(en-us,PandP.50).gif IsDBNull
Return whether the specified field is set to null.
(Inherited from DataReaderWrapper.)
Ff665635.protmethod(en-us,PandP.50).gif MemberwiseClone Overloaded.
Ff665635.pubmethod(en-us,PandP.50).gif NextResult
Advances the data reader to the next result, when reading the results of batch SQL statements.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif Read
Advances the IDataReader to the next record.
(Inherited from DataReaderWrapper.)
Ff665635.pubmethod(en-us,PandP.50).gif ToString (Inherited from Object.)

Properties

  Name Description
Ff665635.pubproperty(en-us,PandP.50).gif Depth
Gets a value indicating the depth of nesting for the current row.
(Inherited from DataReaderWrapper.)
Ff665635.pubproperty(en-us,PandP.50).gif FieldCount
Gets the number of columns in the current row.
(Inherited from DataReaderWrapper.)
Ff665635.pubproperty(en-us,PandP.50).gif InnerReader
The actual raw IDataReader we're wrapping.
(Inherited from DataReaderWrapper.)
Ff665635.pubproperty(en-us,PandP.50).gif IsClosed
Gets a value indicating whether the data reader is closed.
(Inherited from DataReaderWrapper.)
Ff665635.pubproperty(en-us,PandP.50).gif RecordsAffected
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
(Inherited from DataReaderWrapper.)

See Also

RefCountingDataReader Class

Microsoft.Practices.EnterpriseLibrary.Data Namespace