Struct NpgsqlTid
- Namespace
- NpgsqlTypes
- Assembly
- Npgsql.dll
Represents a PostgreSQL tid value
public readonly struct NpgsqlTid : IEquatable<NpgsqlTid>
- Implements
- Inherited Members
Remarks
Constructors
NpgsqlTid(uint, ushort)
Represents a PostgreSQL tid value
public NpgsqlTid(uint blockNumber, ushort offsetNumber)
Parameters
Remarks
Properties
BlockNumber
Block number
public uint BlockNumber { get; }
Property Value
OffsetNumber
Tuple index within block
public ushort OffsetNumber { get; }
Property Value
Methods
Equals(NpgsqlTid)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(NpgsqlTid other)
Parameters
other
NpgsqlTidAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? o)
Parameters
o
object
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(NpgsqlTid, NpgsqlTid)
public static bool operator ==(NpgsqlTid left, NpgsqlTid right)
Parameters
Returns
operator !=(NpgsqlTid, NpgsqlTid)
public static bool operator !=(NpgsqlTid left, NpgsqlTid right)