Search Results for

    Show / Hide Table of Contents

    Class NpgsqlNestedDataReader

    Reads a forward-only stream of rows from a nested data source. Can be retrieved using GetData(int) or GetData(int).

    Inheritance
    object
    NpgsqlNestedDataReader
    Namespace: Npgsql
    Assembly: Npgsql.dll
    Syntax
    public sealed class NpgsqlNestedDataReader : DbDataReader

    Properties

    | Improve this Doc View Source

    Depth

    Declaration
    public override int Depth { get; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    FieldCount

    Declaration
    public override int FieldCount { get; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    HasRows

    Declaration
    public override bool HasRows { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsClosed

    Declaration
    public override bool IsClosed { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    this[int]

    Declaration
    public override object this[int ordinal] { get; }
    Parameters
    Type Name Description
    int ordinal
    Property Value
    Type Description
    object
    | Improve this Doc View Source

    this[string]

    Declaration
    public override object this[string name] { get; }
    Parameters
    Type Name Description
    string name
    Property Value
    Type Description
    object
    | Improve this Doc View Source

    RecordsAffected

    Declaration
    public override int RecordsAffected { get; }
    Property Value
    Type Description
    int

    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
    Type Description
    bool
    | Improve this Doc View Source

    GetByte(int)

    Declaration
    public override byte GetByte(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    byte
    | 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
    Type Description
    long
    | Improve this Doc View Source

    GetChar(int)

    Declaration
    public override char GetChar(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    char
    | 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
    Type Description
    long
    | 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
    Type Description
    NpgsqlNestedDataReader

    A data reader.

    | Improve this Doc View Source

    GetDataTypeName(int)

    Declaration
    public override string GetDataTypeName(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    string
    | 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
    Type Description
    decimal
    | Improve this Doc View Source

    GetDouble(int)

    Declaration
    public override double GetDouble(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    double
    | 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
    Type Description
    Type
    | Improve this Doc View Source

    GetFieldValue<T>(int)

    Declaration
    public override T GetFieldValue<T>(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetFloat(int)

    Declaration
    public override float GetFloat(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetGuid(int)

    Declaration
    public override Guid GetGuid(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    Guid
    | Improve this Doc View Source

    GetInt16(int)

    Declaration
    public override short GetInt16(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    short
    | Improve this Doc View Source

    GetInt32(int)

    Declaration
    public override int GetInt32(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    int
    | Improve this Doc View Source

    GetInt64(int)

    Declaration
    public override long GetInt64(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    long
    | Improve this Doc View Source

    GetName(int)

    Declaration
    public override string GetName(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    string
    | Improve this Doc View Source

    GetOrdinal(string)

    Declaration
    public override int GetOrdinal(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    int
    | Improve this Doc View Source

    GetString(int)

    Declaration
    public override string GetString(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    string
    | Improve this Doc View Source

    GetValue(int)

    Declaration
    public override object GetValue(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    object
    | Improve this Doc View Source

    GetValues(object[])

    Declaration
    public override int GetValues(object[] values)
    Parameters
    Type Name Description
    object[] values
    Returns
    Type Description
    int
    | Improve this Doc View Source

    IsDBNull(int)

    Declaration
    public override bool IsDBNull(int ordinal)
    Parameters
    Type Name Description
    int ordinal
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    NextResult()

    Declaration
    public override bool NextResult()
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    Read()

    Declaration
    public override bool Read()
    Returns
    Type Description
    bool
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team