Open Closed

abp Suite Tool One-to-Many, Many-to-Many Entity Relationship Sample? #50


User avatar
0
don.potts created

Please provide an example of adding an one to many & many to many relationship with the abp Suite tool.

Example:

Books

Authors

Suppliers

Categories

ETC

Foreign Keys?

Thanks,


7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    one to many & many to many relationship are not supported at this time, already in the plan.

    https://docs.abp.io/en/commercial/latest/abp-suite/generating-crud-page

  • User Avatar
    0
    alper created
    Support Team Director

    one to many & many to many relationship features will be added in the next releases (no exact time schedule for now)

  • User Avatar
    0
    alper created
    Support Team Director

    this feature is coming up in 2.4.1 (will be released 8 April)

  • User Avatar
    0
    faruk.ozturk@ayasofyazilim.com created

    Is there any improvement regarding this feature?

  • User Avatar
    0
    alper created
    Support Team Director

    yes we have improved this feature and we are writing the documentation. v2.6.2 has this feature. it's usable but v2.7 will have much user friendly UI (v2.7 planned release 4th Monday, May)

  • User Avatar
    0
    jward01 created

    Can we map it the other direction? For example I have these two entites:

    • UserMenu.cs
    • MenuItem.cs

    A UserMenu can have many MenuItems.

    If I use the GUI, I can only map it in this direction:

    MenuItem --> has a UserMenu

    If I query a UserMenu, no MenuItems appear.

    If I query a MenuItem the UserMenu is returned in the query.


    My goal is to query the UserMenu and have many MenuItems returned, 2 or more.

    Is this possible in ABP Suite?

  • User Avatar
    0
    alper created
    Support Team Director

    this is not available in Suite but you can add a collection to your referenced entity to solve this.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11