Table of Contents

Struct StrAttrAttrRow

Namespace
TdbIO
Assembly
TdbIO.dll

Decoded row of table 49 (strattr_attr, size 120): string attribute definition and value.

public readonly record struct StrAttrAttrRow : IEquatable<StrAttrAttrRow>

Implements

Inherited Members

Constructors

StrAttrAttrRow(int, int, string, string, int, int)

Decoded row of table 49 (strattr_attr, size 120): string attribute definition and value.

public StrAttrAttrRow(int Id, int Type, string Name, string Value, int ValueId, int PrivilegeId)

Parameters

Id int

The attribute value identifier (primary key).

Type int

Value type code.

Name string

The attribute name.

Value string

The string attribute value.

ValueId int

Extended value identifier.

PrivilegeId int

Access privilege identifier.

Fields

ExpectedRowSize

The expected row body size in bytes: 120.

public const int ExpectedRowSize = 120

Field Value

int

TableKey

The table key in model database sections: 49.

public const int TableKey = 49

Field Value

int

Properties

Id

The attribute value identifier (primary key).

public int Id { get; init; }

Property Value

int

Name

The attribute name.

public string Name { get; init; }

Property Value

string

PrivilegeId

Access privilege identifier.

public int PrivilegeId { get; init; }

Property Value

int

Type

Value type code.

public int Type { get; init; }

Property Value

int

Value

The string attribute value.

public string Value { get; init; }

Property Value

string

ValueId

Extended value identifier.

public int ValueId { get; init; }

Property Value

int

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into a TdbIO.StrAttrAttrRow.

public static StrAttrAttrRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

StrAttrAttrRow

Decode(TableRow)

Decodes the body of row into a TdbIO.StrAttrAttrRow.

public static StrAttrAttrRow Decode(TableRow row)

Parameters

row TableRow

Returns

StrAttrAttrRow