Class StructureRecord

Assembly: redb.Export.dll

Represents a row from the _structures table (field/property definition).

public sealed class StructureRecord : ExportRecord

Inheritance

ObjectExportRecordStructureRecord

Properties

Alias

Machine-friendly alias.

public string? Alias { get; init; }

AllowNotNull

Whether the field requires a non-null value.

public bool? AllowNotNull { get; init; }

CollectionType

Collection type (0 = none, 1 = list, 2 = dictionary, etc.).

public long? CollectionType { get; init; }

DefaultEditor

Editor hint for UI generation.

public string? DefaultEditor { get; init; }

DefaultValue

Serialized default value.

public byte[]? DefaultValue { get; init; }

Id

Primary key.

public long Id { get; init; }

IdList

Foreign key to _lists (for enumeration-typed fields).

public long? IdList { get; init; }

IdOverride

Override reference for inherited fields.

public long? IdOverride { get; init; }

IdParent

Parent structure identifier (for nested fields).

public long? IdParent { get; init; }

IdScheme

Foreign key to the owning scheme.

public long IdScheme { get; init; }

IdType

Foreign key to _types.

public long IdType { get; init; }

IsCompress

Whether the value is stored compressed.

public bool? IsCompress { get; init; }

KeyType

Key type for dictionary-typed fields.

public long? KeyType { get; init; }

Name

Field name.

public string Name { get; init; }

Order

Display order within the scheme.

public long? Order { get; init; }

Readonly

Whether the field is read-only.

public bool? Readonly { get; init; }

StoreNull

Whether explicit NULLs are persisted.

public bool? StoreNull { get; init; }