Search Results for

    Show / Hide Table of Contents

    Struct NpgsqlTid

    Represents a PostgreSQL tid value

    Implements
    IEquatable<NpgsqlTid>
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public readonly struct NpgsqlTid : IEquatable<NpgsqlTid>
    Remarks

    http://www.postgresql.org/docs/current/static/datatype-oid.html

    Constructors

    | Improve this Doc

    NpgsqlTid(UInt32, UInt16)

    Declaration
    public NpgsqlTid(uint blockNumber, ushort offsetNumber)
    Parameters
    Type Name Description
    UInt32 blockNumber
    UInt16 offsetNumber

    Properties

    | Improve this Doc

    BlockNumber

    Block number

    Declaration
    public readonly uint BlockNumber { get; }
    Property Value
    Type Description
    UInt32
    | Improve this Doc

    OffsetNumber

    Tuple index within block

    Declaration
    public readonly ushort OffsetNumber { get; }
    Property Value
    Type Description
    UInt16

    Methods

    | Improve this Doc

    Equals(NpgsqlTid)

    Declaration
    public readonly bool Equals(NpgsqlTid other)
    Parameters
    Type Name Description
    NpgsqlTid other
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Equals(Object)

    Declaration
    public override readonly bool Equals(object o)
    Parameters
    Type Name Description
    Object o
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)
    | Improve this Doc

    GetHashCode()

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    | Improve this Doc

    ToString()

    Declaration
    public override readonly string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Operators

    | Improve this Doc

    Equality(NpgsqlTid, NpgsqlTid)

    Declaration
    public static bool operator ==(NpgsqlTid left, NpgsqlTid right)
    Parameters
    Type Name Description
    NpgsqlTid left
    NpgsqlTid right
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Inequality(NpgsqlTid, NpgsqlTid)

    Declaration
    public static bool operator !=(NpgsqlTid left, NpgsqlTid right)
    Parameters
    Type Name Description
    NpgsqlTid left
    NpgsqlTid right
    Returns
    Type Description
    Boolean

    Implements

    System.IEquatable<T>
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team