An NDoc Documented Class Library |

# NpgsqlDataReader Methods

The methods of the NpgsqlDataReader class are listed below. For a complete list of NpgsqlDataReader class members, see the NpgsqlDataReader Members topic.

#### Public Instance Methods

Close | Closes the data reader object.
Dispose | Releases the resources used by the NpgsqlCommand.
Equals (inherited from Object) |
GetBoolean | Gets the value of a column as Boolean.
GetByte | Gets the value of a column as Byte. Not implemented.
GetBytes | Gets raw data from a column.
GetChar | Gets the value of a column as Char. Not implemented.
GetChars | Gets raw data from a column.
GetData | Not implemented.
GetDataTypeName | Return the data type name of the column at index .
GetDataTypeOID | Return the data type OID of the column at index .
GetDateTime | Gets the value of a column as DateTime.
GetDecimal | Gets the value of a column as Decimal.
GetDouble | Gets the value of a column as Double.
GetFieldDbType | Return the data DbType of the column at index .
GetFieldNpgsqlDbType | Return the data NpgsqlDbType of the column at index .
GetFieldType | Return the data type of the column at index .
GetFloat | Gets the value of a column as Single.
GetGuid | Gets the value of a column converted to a Guid. Not implemented.
GetHashCode (inherited from Object) |
GetInt16 | Gets the value of a column as Int16.
GetInt32 | Gets the value of a column as Int32.
GetInt64 | Gets the value of a column as Int64.
GetName | Return the column name of the column at index .
GetOrdinal | Return the column name of the column named .
GetSchemaTable | Returns a System.Data.DataTable that describes the column metadata of the DataReader.
GetString | Gets the value of a column as String.
GetType (inherited from Object) |
GetValue | Return the value of the column at index .
GetValues | Copy values from each column in the current row into .
IsDBNull | Report whether the value in a column is DBNull.
NextResult | Advances the data reader to the next result, when multiple result sets were returned by the PostgreSQL backend.
Read | Advances the data reader to the next row.
ToString (inherited from Object) |

#### See Also

NpgsqlDataReader Class | Npgsql Namespace