Table 177. Public Instance Properties
Property | Description |
---|---|
Depth | Gets a value indicating the depth of nesting for the current row. |
FieldCount | Gets the number of columns in the current row. |
IsClosed | Indicates whether the DB2eDataReader is closed. |
Item | Overloaded. Gets the value of the specified column in its native format given the column ordinal. |
RecordsAffected | Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. |
Table 178. Public Instance Methods
Method | Description |
---|---|
Close | Closes the DB2eDataReader object. |
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. |
GetDataTypeName | Gets the name of the source data type. |
GetDate | Gets the value of the specified column as a DateTime object. |
GetDateTime | Gets the value of the specified column as a DateTime object. |
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. |
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. |
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. |
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 DB2eDataReader. |
GetString | Gets the value of the specified column as a string. |
GetTime | Gets the value of the specified column as a TimeSpan object. |
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. |
IsDBNull | Gets a value indicating whether the column contains non-existent or missing values. |
NextResult | Advances the DB2eDataReader to the next result, when reading the results of batch SQL statements. DB2 Everyplace does not currently support batch SQL statements. |
Read | Advances the DB2eDataReader to the next record. |