Npgsql Api Docs

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 (inherited from DbDataReader) 
CreateObjRef (inherited from MarshalByRefObject) 
Dispose (inherited from DbDataReader)Overloaded.  
Equals (inherited from Object) 
GetBitString 
GetBoolean Gets the value of a column as Boolean.
GetByte Gets the value of a column as Byte. Not implemented.
GetBytes (inherited from DbDataReader) 
GetChar Gets the value of a column as Char.
GetChars (inherited from DbDataReader) 
GetData (inherited from DbDataReader) 
GetDataTypeName Return the data type name of the column at index .
GetDataTypeOID Return the data type OID of the column at index .
GetDate 
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.
GetEnumerator 
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.
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.
GetInterval Get the value of a column as a NpgsqlInterval. If the differences between NpgsqlInterval and Timespan in handling of days and months is not important to your application, use GetTimeSpan instead.
GetLifetimeService (inherited from MarshalByRefObject) 
GetName Return the column name of the column at index .
GetOrdinal Return the column name of the column named .
GetProviderSpecificFieldType Return the Npgsql specific data type of the column at requested ordinal.
GetProviderSpecificValue (inherited from DbDataReader) 
GetProviderSpecificValues Copy values from each column in the current row into .
GetSchemaTable Returns a System.Data.DataTable that describes the column metadata of the DataReader.
GetString Gets the value of a column as String.
GetTime 
GetTimeSpan Gets the value of a column as TimeSpan.
GetTimeStamp 
GetTimeStampTZ 
GetTimeTZ 
GetType (inherited from Object) 
GetValue (inherited from DbDataReader) 
GetValues Copy values from each column in the current row into .
HasOrdinal 
InitializeLifetimeService (inherited from MarshalByRefObject) 
IsDBNull (inherited from DbDataReader) 
NextResult (inherited from DbDataReader) 
Read (inherited from DbDataReader) 
ToString (inherited from Object) 

Protected Instance Methods

Dispose (inherited from DbDataReader)Overloaded.  
Finalize (inherited from Object) 
GetDbDataReader (inherited from DbDataReader) 
MemberwiseClone (inherited from MarshalByRefObject)Overloaded.  
MemberwiseClone (inherited from Object)Overloaded.  
SendClosedEvent 

See Also

NpgsqlDataReader Class | Npgsql Namespace