Table of Contents

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

blockNumber uint
offsetNumber ushort

Remarks

Properties

BlockNumber

Block number

public uint BlockNumber { get; }

Property Value

uint

OffsetNumber

Tuple index within block

public ushort OffsetNumber { get; }

Property Value

ushort

Methods

Equals(NpgsqlTid)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(NpgsqlTid other)

Parameters

other NpgsqlTid

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

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

left NpgsqlTid
right NpgsqlTid

Returns

bool

operator !=(NpgsqlTid, NpgsqlTid)

public static bool operator !=(NpgsqlTid left, NpgsqlTid right)

Parameters

left NpgsqlTid
right NpgsqlTid

Returns

bool