Click or drag to resize
IWrappedDataReader Interface
Describes a reader that controls the lifetime of both a command and a reader, exposing the downstream command/reader as properties.

Namespace: Dapper
Assembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IWrappedDataReader : IDataReader, 
	IDisposable, IDataRecord

The IWrappedDataReader type exposes the following members.

Properties
  NameDescription
Public propertyCommand
Obtain the underlying command
Public propertyDepth
Gets a value indicating the depth of nesting for the current row.
(Inherited from IDataReader.)
Public propertyFieldCount
Gets the number of columns in the current row.
(Inherited from IDataRecord.)
Public propertyIsClosed
Gets a value indicating whether the data reader is closed.
(Inherited from IDataReader.)
Public propertyItemInt32
Gets the column located at the specified index.
(Inherited from IDataRecord.)
Public propertyItemString
Gets the column with the specified name.
(Inherited from IDataRecord.)
Public propertyReader
Obtain the underlying reader
Public propertyRecordsAffected
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
(Inherited from IDataReader.)
Top
Methods
  NameDescription
Public methodClose
Closes the IDataReader Object.
(Inherited from IDataReader.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetBoolean
Gets the value of the specified column as a Boolean.
(Inherited from IDataRecord.)
Public methodGetByte
Gets the 8-bit unsigned integer value of the specified column.
(Inherited from IDataRecord.)
Public methodGetBytes
Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.
(Inherited from IDataRecord.)
Public methodGetChar
Gets the character value of the specified column.
(Inherited from IDataRecord.)
Public methodGetChars
Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.
(Inherited from IDataRecord.)
Public methodGetData
Returns an IDataReader for the specified column ordinal.
(Inherited from IDataRecord.)
Public methodGetDataTypeName
Gets the data type information for the specified field.
(Inherited from IDataRecord.)
Public methodGetDateTime
Gets the date and time data value of the specified field.
(Inherited from IDataRecord.)
Public methodGetDecimal
Gets the fixed-position numeric value of the specified field.
(Inherited from IDataRecord.)
Public methodGetDouble
Gets the double-precision floating point number of the specified field.
(Inherited from IDataRecord.)
Public methodGetFieldType
Gets the Type information corresponding to the type of Object that would be returned from GetValue(Int32).
(Inherited from IDataRecord.)
Public methodGetFloat
Gets the single-precision floating point number of the specified field.
(Inherited from IDataRecord.)
Public methodGetGuid
Returns the GUID value of the specified field.
(Inherited from IDataRecord.)
Public methodGetInt16
Gets the 16-bit signed integer value of the specified field.
(Inherited from IDataRecord.)
Public methodGetInt32
Gets the 32-bit signed integer value of the specified field.
(Inherited from IDataRecord.)
Public methodGetInt64
Gets the 64-bit signed integer value of the specified field.
(Inherited from IDataRecord.)
Public methodGetName
Gets the name for the field to find.
(Inherited from IDataRecord.)
Public methodGetOrdinal
Return the index of the named field.
(Inherited from IDataRecord.)
Public methodGetSchemaTable
Returns a DataTable that describes the column metadata of the IDataReader.
(Inherited from IDataReader.)
Public methodGetString
Gets the string value of the specified field.
(Inherited from IDataRecord.)
Public methodGetValue
Return the value of the specified field.
(Inherited from IDataRecord.)
Public methodGetValues
Populates an array of objects with the column values of the current record.
(Inherited from IDataRecord.)
Public methodIsDBNull
Return whether the specified field is set to null.
(Inherited from IDataRecord.)
Public methodNextResult
Advances the data reader to the next result, when reading the results of batch SQL statements.
(Inherited from IDataReader.)
Public methodRead
Advances the IDataReader to the next record.
(Inherited from IDataReader.)
Top
See Also