DB2DataReader overview
Property | Description |
---|---|
BlockForNRows | Controls the number of rows to be returned to client in a single fetch request |
Depth | Gets a value that indicates the depth of nesting for the current row. |
FieldCount | Gets the number of columns in the current row. |
HasRows | Gets a value that indicates whether the DB2DataReader contains one or more rows. |
IsClosed | Indicates whether the DB2DataReader is closed. |
This | Overloaded. Gets the value of a column in
its native format. In C#, this property is the indexer for the DB2DataReader class. |
RecordsAffected | Gets the number of rows that are changed, inserted, or deleted by execution of the SQL statement. |
Method | Description |
---|---|
Close | Closes the DB2DataReader object. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information that is required to generate a proxy used to communicate with a remote object. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetBoolean | Gets the value of the specified column as a Boolean value. |
GetByte | Gets the value of the specified column as a byte. |
GetBytes | Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset. |
GetChar | Gets the value of the specified column as a character. |
GetChars | Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset. |
GetDataTypeName | Gets the name of the source data type. |
GetDate | Gets the value of the specified column as a Date object. |
GetDateTime | Gets the value of the specified column as a DateTime object. |
GetDB2®Binary | Creates an instance of a DB2Binary object from the column data. |
GetDB2Blob | Creates an instance of a DB2Blob object from the column data. |
GetDB2Clob | Creates an instance of a DB2Clob object from the column data. |
GetDB2Date | Creates an instance of a DB2Date object from the column data. |
GetDB2DateTime | Creates an instance of a DB2DateTime object from the column data. |
GetDB2Decimal | Creates an instance of a DB2Decimal object from the column data. |
GetDB2DecimalFloat | Creates an instance of a DB2DecimalFloat object from the column data. |
GetDB2Double | Creates an instance of a DB2Double object from the column data. |
GetDB2Int16 | Creates an instance of a DB2Int16 object from the column data. |
GetDB2Int32 | Creates an instance of a DB2Int32 object from the column data. |
GetDB2Int64 | Creates an instance of a DB2Int64 object from the column data. |
GetDB2Real | Creates an instance of a DB2Real object from the column data. |
GetDB2Real370 | Creates an instance of a DB2Real370 object from the column data. |
GetDB2RowId | Creates an instance of a DB2RowId object from the column data. |
GetDB2String | Creates an instance of a DB2String object from the column data. |
GetDB2Time | Creates an instance of a DB2Time object from the column data. |
GetDB2TimeStamp | Creates an instance of a DB2TimeStamp object from the column data. |
GetDB2Value | Creates an Object instance from column data. |
GetDB2Values | Gets all the column values for the current row. |
GetDB2Xml | Creates an instance of a DB2Xml object from the XML column data. |
GetDB2XsrObjectId | Creates an instance of a DB2XsrObjectId object from the column data. |
GetDecimal | Gets the value of the specified column as a Decimal object. |
GetDouble | Gets the value of the specified column as a double-precision floating point number. |
GetEnumerator | Returns an enumerator that iterates through the DB2DataReader object. |
GetFieldType | Gets the Type that is the data type of the object. |
GetFloat | Gets the value of the specified column as a single-precision floating-point number. |
GetGuid | Not supported. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as a hash table. |
GetInt16 | Gets the value of the specified column as a 16-bit signed integer. |
GetInt32 | Gets the value of the specified column as a 32-bit signed integer. |
GetInt64 | Gets the value of the specified column as a 64-bit signed integer. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetName | Gets the name of the specified column. |
GetOrdinal | Gets the column ordinal, given the name of the column. |
GetSchemaTable | Returns a DataTable that describes the column metadata of the DB2DataReader. |
GetStream | Gets the value of the specified column as a System.IO.Stream object. |
GetString | Gets the value of the specified column as a string. |
GetTime | Gets the value of the specified column as a TimeSpan object. |
GetTimeSpan | Gets the value of the specified column as a TimeSpan object. |
GetType (inherited from Object) | Gets the Type of the current instance. |
GetValue | Gets the value of the column at the specified ordinal in its native format. |
GetValues | Gets all the attribute columns in the current row. |
GetXmlReader | Returns an XmlReader from a character, binary, or DB2Type.XML column. |
GetXmlSchemaSet | Overloaded. Returns an XmlSchemaSet object
of all the schema documents for the given DB2XsrObjectId. Data server restrictions:
|
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
IsDBNull | Gets a value that indicates whether the column contains non-existent or missing values. |
NextResult | Advances the DB2DataReader to the next result, when reading the results of batch SQL statements or a multiple result-set stored procedure. |
Read | Advances the DB2DataReader to the next record. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Method | Description |
---|---|
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |