Class NpgsqlNestedDataReader
Inheritance
NpgsqlNestedDataReader
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlNestedDataReader : DbDataReader
Properties
|
Improve this Doc
View Source
Depth
Declaration
public override int Depth { get; }
Property Value
|
Improve this Doc
View Source
FieldCount
Declaration
public override int FieldCount { get; }
Property Value
|
Improve this Doc
View Source
HasRows
Declaration
public override bool HasRows { get; }
Property Value
|
Improve this Doc
View Source
IsClosed
Declaration
public override bool IsClosed { get; }
Property Value
|
Improve this Doc
View Source
this[int]
Declaration
public override object this[int ordinal] { get; }
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Property Value
|
Improve this Doc
View Source
this[string]
Declaration
public override object this[string name] { get; }
Parameters
Type |
Name |
Description |
string |
name |
|
Property Value
|
Improve this Doc
View Source
RecordsAffected
Declaration
public override int RecordsAffected { get; }
Property Value
Methods
|
Improve this Doc
View Source
Close()
Declaration
public override void Close()
|
Improve this Doc
View Source
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
|
Improve this Doc
View Source
GetBoolean(int)
Declaration
public override bool GetBoolean(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetByte(int)
Declaration
public override byte GetByte(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetBytes(int, long, byte[]?, int, int)
Declaration
public override long GetBytes(int ordinal, long dataOffset, byte[]? buffer, int bufferOffset, int length)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
long |
dataOffset |
|
byte[] |
buffer |
|
int |
bufferOffset |
|
int |
length |
|
Returns
|
Improve this Doc
View Source
GetChar(int)
Declaration
public override char GetChar(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetChars(int, long, char[]?, int, int)
Declaration
public override long GetChars(int ordinal, long dataOffset, char[]? buffer, int bufferOffset, int length)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
long |
dataOffset |
|
char[] |
buffer |
|
int |
bufferOffset |
|
int |
length |
|
Returns
|
Improve this Doc
View Source
GetData(int)
Returns a nested data reader for the requested column.
The column type must be a record or a to Npgsql known composite type, or an array thereof.
Declaration
public NpgsqlNestedDataReader GetData(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
The zero-based column ordinal.
|
Returns
|
Improve this Doc
View Source
GetDataTypeName(int)
Declaration
public override string GetDataTypeName(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetDateTime(int)
Declaration
public override DateTime GetDateTime(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
Type |
Description |
DateTime |
|
|
Improve this Doc
View Source
GetDbDataReader(int)
Declaration
protected override DbDataReader GetDbDataReader(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
Type |
Description |
DbDataReader |
|
|
Improve this Doc
View Source
GetDecimal(int)
Declaration
public override decimal GetDecimal(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetDouble(int)
Declaration
public override double GetDouble(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public override IEnumerator GetEnumerator()
Returns
Type |
Description |
IEnumerator |
|
|
Improve this Doc
View Source
GetFieldType(int)
Declaration
public override Type GetFieldType(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetFieldValue<T>(int)
Declaration
public override T GetFieldValue<T>(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetFloat(int)
Declaration
public override float GetFloat(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetGuid(int)
Declaration
public override Guid GetGuid(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetInt16(int)
Declaration
public override short GetInt16(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetInt32(int)
Declaration
public override int GetInt32(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetInt64(int)
Declaration
public override long GetInt64(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetName(int)
Declaration
public override string GetName(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetOrdinal(string)
Declaration
public override int GetOrdinal(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
|
Improve this Doc
View Source
GetString(int)
Declaration
public override string GetString(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetValue(int)
Declaration
public override object GetValue(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
GetValues(object[])
Declaration
public override int GetValues(object[] values)
Parameters
Type |
Name |
Description |
object[] |
values |
|
Returns
|
Improve this Doc
View Source
IsDBNull(int)
Declaration
public override bool IsDBNull(int ordinal)
Parameters
Type |
Name |
Description |
int |
ordinal |
|
Returns
|
Improve this Doc
View Source
NextResult()
Declaration
public override bool NextResult()
Returns
|
Improve this Doc
View Source
Read()
Declaration
public override bool Read()
Returns