Member Junction
    Preparing search index...

    Generator class for creating JoinGrid components that handle many-to-many relationships. This component generates Angular templates that use the MemberJunction JoinGrid component to display and manage join relationships between entities.

    The JoinGrid allows users to:

    • View available entities that can be joined
    • Add new join relationships
    • Remove existing join relationships
    • Display additional columns from the join entity

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Helper method that returns the name of the foreign key field in the specified entity that links to the related entity. Useful for building relationship queries and joins.

      Parameters

      • entityName: string

        The name of the entity containing the foreign key

      • relatedEntityName: string

        The name of the entity being referenced

      Returns string

      The name of the foreign key field

      Error if the foreign key field cannot be found

    • Returns the name of the parent-record property that a related entity's foreign key points at — the value to bind into a '<fk>=' + record.<property> filter. A foreign key references exactly one column: for a single-column parent key that is the key itself; for a composite parent key it is the key column named by fk.RelatedEntityFieldName.

      Parameters

      • parentEntity: EntityInfo

        The entity whose form hosts the related-entity component

      • fk: EntityFieldInfo

        The foreign key field on the related entity that links back to parentEntity

      Returns string

      The parent key column the FK references

      Error if a composite-key parent's FK does not resolve to one of its key columns