DB2Record Members

Represents a read-only record. The following tables list the members that are exposed by the DB2Record class.

Table 1. Public Properties
Public Property Description
public property FieldCount Gets the number of columns in the current row.
public property this Overloaded. Gets the value of a column in its native format.
Table 2. Public Methods
Public Method Description
public method Dispose Closes the DB2Record instance.
public method GetBoolean Gets the value of the specified column as a Boolean value.
public method GetByte Gets the value of the specified column as a byte.
public method GetBytes Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.
public method GetChar Gets the value of the specified column as a character.
public method GetChars Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.
public method GetDataTypeName Gets the name of the source data type.
public method GetDate Gets the value of the specified column as a DateTime object.
public method GetDateTime Gets the value of the specified column as a DateTime object.
public method GetDB2®Binary Creates an instance of a DB2Binary object from the column data.
public method GetDB2Date Creates an instance of a DB2Date object from the column data.
public method GetDB2Decimal Creates an instance of a DB2Decimal object from the column data.
public methodGetDB2DateTime Creates an instance of a DB2DateTime object from the column data.
public method GetDB2DecimalFloat Creates an instance of a DB2Decimal object from the column data.
public methodGetDB2DecimalFloat Creates an instance of a DB2DecimalFloat object from the column data.
public method GetDB2Double Creates an instance of a DB2Double object from the column data.
public method GetDB2Int16 Creates an instance of a DB2Int16 object from the column data.
public method GetDB2Int32 Creates an instance of a DB2Int32 object from the column data.
public method GetDB2Int64 Creates an instance of a DB2Int64 object from the column data.
public method GetDB2Real Creates an instance of a DB2Real object from the column data.
public method GetDB2Real370 Creates an instance of a DB2Real370 object from the column data.
public method GetDB2RowId Creates an instance of a DB2RowId object from the column data.
public method GetDB2String Creates an instance of a DB2String object from the column data.
public method GetDB2Time Creates an instance of a DB2Time object from the column data.
public method GetDB2TimeStamp Creates an instance of a DB2TimeStamp object from the column data.
public method GetDB2Xml Creates an instance of a DB2Xml object from the column data.
public method GetDB2XsrObjectId Creates an instance of a DB2XsrObjectId object from the column data.
public method GetDecimal Gets the value of the specified column as a decimal.
public method GetDouble Gets the value of the specified column as a double-precision floating-point number.
public method GetFieldType Gets the Type that is the data type of the object.
public method GetFloat Gets the value of the specified column as a single-precision floating-point number.
public method GetGuid Not supported.
public method GetInt16 Gets the value of the specified column as a 16-bit signed integer.
public method GetInt32 Gets the value of the specified column as a 32-bit signed integer.
public method GetInt64 Gets the value of the specified column as a 64-bit signed integer.
public method GetName Gets the name of the specified column.
public method GetOrdinal Gets the column ordinal, given the name of the column.
public method GetString Gets the value of the specified column as a string.
public method GetTime Gets the value of the specified column as a TimeSpan object.
public method GetTimeSpan Gets the value of the specified column as a TimeSpan object.
public method GetValue Gets the value of the column at the specified ordinal in its native format.
public method GetValues Gets all the attribute columns in the current row.
public method GetXmlReader Returns an XmlReader from a character, binary, or DB2Type.XML column.
public method GetXmlSaxReader Not supported.
public method GetXmlSchemaSet Overloaded. Returns an XmlSchemaSet object of all the schema documents for the given DB2XsrObjectId structure.
public method IsDBNull Gets a value that indicates whether the column contains nonexistent or missing values.