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 full)

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

    Throws

    Error if the foreign key field cannot be found