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
Idint-
The attribute value identifier (primary key).
Typeint-
Value type code.
Namestring-
The attribute name.
Valuestring-
The string attribute value.
ValueIdint-
Extended value identifier.
PrivilegeIdint-
Access privilege identifier.
Fields
ExpectedRowSize
The expected row body size in bytes: 120.
public const int ExpectedRowSize = 120Field Value
TableKey
The table key in model database sections: 49.
public const int TableKey = 49Field Value
Properties
Id
The attribute value identifier (primary key).
public int Id { get; init; }Property Value
Name
The attribute name.
public string Name { get; init; }Property Value
PrivilegeId
Access privilege identifier.
public int PrivilegeId { get; init; }Property Value
Type
Value type code.
public int Type { get; init; }Property Value
Value
The string attribute value.
public string Value { get; init; }Property Value
ValueId
Extended value identifier.
public int ValueId { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.StrAttrAttrRow.
public static StrAttrAttrRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.StrAttrAttrRow.
public static StrAttrAttrRow Decode(TableRow row)Parameters
rowTableRow