Npgsql API Docs

NpgsqlDataReader Members

NpgsqlDataReader overview

Public Instance Properties

Depth Gets a value indicating the depth of nesting for the current row. Always returns zero.
FieldCount Gets the number of columns in the current row.
HasRows Indicates if NpgsqlDatareader has rows to be read.
IsClosed Gets a value indicating whether the data reader is closed.
Item Overloaded. Gets the value of a column in its native format.
RecordsAffected Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.

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