Otvoriť Uzavreté

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


User avatar
0
don.potts vytvorené

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 odpoveď(e)/dí
  • User Avatar
    0
    maliming vytvorené
    Tím podpory 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 vytvorené
    Tím podpory 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 vytvorené
    Tím podpory Director

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

  • User Avatar
    0
    faruk.ozturk@ayasofyazilim.com vytvorené

    Is there any improvement regarding this feature?

  • User Avatar
    0
    alper vytvorené
    Tím podpory 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 vytvorené

    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 vytvorené
    Tím podpory Director

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

Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11