Member Junction
    Preparing search index...

    Defines allowed values for entity fields with value lists. Supports dropdowns, validations, and data integrity constraints.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    __mj_CreatedAt: Date = null
    __mj_UpdatedAt: Date = null
    Code: string = null
    Description: string = null
    EntityFieldID: string = null
    ID: string = null

    Primary Key

    Sequence: number = null
    Value: string = null

    Accessors

    • get OwningProvider(): IMetadataProvider

      The metadata provider that built this Info object, when known.

      Info getters that resolve sibling metadata (an entity's IS-A children, a permission's RLS filter, a query's fields, an authorization's roles, …) must read from the SAME provider the object came from. In a multi-provider process — several GraphQLDataProvider instances with separateConnection, or a server servicing several connections — the global Metadata.Provider is a different provider or not set at all. Providers pass themselves to every Info constructor (new m.class(row, provider)), and container Info objects hand it to the child Info objects they construct.

      undefined for an Info object built outside a provider (tests, ad-hoc construction). Callers then fall back to the global provider, which is exactly the pre-existing behavior.

      Returns IMetadataProvider

    Methods

    • Copies initialization data from a plain object to the class instance. Only copies properties that already exist on the class to prevent creating new fields. Special handling for DefaultValue fields to extract actual values from SQL Server syntax.

      Parameters

      • initData: any

        The initialization data object

      • OptionalskipKeys: ReadonlySet<string>

        Optional set of property keys handled directly by the subclass constructor

      Returns void

    • Returns a plain object suitable for JSON serialization. Called automatically by JSON.stringify().

      Returns { Code: string; Description?: string; Value: string }