Open Closed

Reuse many to many relationship #8049


User avatar
0
elementalinsights created

Is there a way to reuse a many to many relationships on the navigation's property of the CRUD generator.

Basically, I have two entities that have a many to many, but I want the selections to be available in both edit models. If I had a M=>M to one entity and then go to add it to another, I get two tables for the m->m relationship, but I just want it to reuse the same table for that relationship in both models.

Like I want to use this exact relationship navigation on another entity. But when I try to do that it creates another M-M table.


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

    Hi, unfortunately, currently there is not a way in ABP Suite to access the selections on both sides. I will create an internal issue for your request.

    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.2.0-preview. Updated on March 25, 2025, 11:10