Open Closed

View other direction of 1:n / n:n relationships in ABP Suite? #6797


User avatar
0
jgrovert created
  • ABP Framework version: v8.1.0-rc.2

  • UI Type: MVC (Any)

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): No

  • Exception message and full stack trace: N/A

  • Steps to reproduce the issue: N/A

Hello.

When generating a 1:n relationship (such as https://docs.abp.io/en/commercial/latest/abp-suite/generating-crud-page - how Books have an Author), ABP Suite integrates an Author Dropdown or Author Lookup to the Book form. Works great.

Is there a way for ABP Suite to automatically generate code so that when viewing an Author, you can see whose Books are currently linked to that Author? This would be shown as a Grid of Books, with 0-n records in that Grid. Also, from that Grid, be able to click "New Book" and have the Author relationship pre-populated when creating the Book record.

Same request for n:n relationships, seeing the other direction of the relationship (such as https://docs.abp.io/en/commercial/latest/abp-suite/creating-many-to-many-relationship - viewing a Category, and seeing what Books are related to it), and adding a new relationship from either side.

In addition, we should be able to navigate to those related records and then view the properties/relationships from that record. Not sure create relationships to them, but view the record, edit it, manage/navigate other relationships.

Thank you, Jason


1 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, I think that's a great suggestion. We have created an internal issue (#16977) for your suggestion and will evaluate it and try to prioritize it. Thanks for your suggestion.

    Best regards.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10