Table of Contents

Struct NumAttrRow

Namespace
TdbIO
Assembly
TdbIO.dll

Decoded row of table 38 (numattr, size 24): numeric attribute association.

public readonly record struct NumAttrRow : IEquatable<NumAttrRow>

Implements

Inherited Members

Constructors

NumAttrRow(int, int, int, int, int, int)

Decoded row of table 38 (numattr, size 24): numeric attribute association.

public NumAttrRow(int Id, int AttrId, int FatherId, int OwnerId, int Flags, int NameId)

Parameters

Id int

The numeric attribute row identifier (primary key).

AttrId int

Identifier of the attribute value in table 48 (numattr_attr).

FatherId int

Identifier of the object owning the attribute.

OwnerId int

Attribute owner identifier.

Flags int

Attribute flags.

NameId int

Identifier of the attribute name.

Fields

ExpectedRowSize

The expected row body size in bytes: 24.

public const int ExpectedRowSize = 24

Field Value

int

TableKey

The table key in model database sections: 38.

public const int TableKey = 38

Field Value

int

Properties

AttrId

Identifier of the attribute value in table 48 (numattr_attr).

public int AttrId { get; init; }

Property Value

int

FatherId

Identifier of the object owning the attribute.

public int FatherId { get; init; }

Property Value

int

Flags

Attribute flags.

public int Flags { get; init; }

Property Value

int

Id

The numeric attribute row identifier (primary key).

public int Id { get; init; }

Property Value

int

NameId

Identifier of the attribute name.

public int NameId { get; init; }

Property Value

int

OwnerId

Attribute owner identifier.

public int OwnerId { get; init; }

Property Value

int

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into a TdbIO.NumAttrRow.

public static NumAttrRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

NumAttrRow

Decode(TableRow)

Decodes the body of row into a TdbIO.NumAttrRow.

public static NumAttrRow Decode(TableRow row)

Parameters

row TableRow

Returns

NumAttrRow