Member Junction
    Preparing search index...

    Interface GetEntityObjectOptions

    Options controlling how IMetadataProvider.GetEntityObject initializes a newly instantiated entity when no loadKey is supplied.

    interface GetEntityObjectOptions {
        SkipNewRecord?: boolean;
    }
    Index

    Properties

    Properties

    SkipNewRecord?: boolean

    When true, skips calling NewRecord() after constructing and configuring the entity.

    Use this only when the caller immediately hydrates the entity via LoadFromData(...) or LoadFromDataBatchAsISAParent(...). Skipping NewRecord() avoids minting a throwaway UUID primary key, hydrating all EntityField instances for defaults that LoadFromData immediately discards, and broadcasting a synthetic 'new_record' event — keeping BaseEntity's lazy _raw row fast path intact.