Open Closed

Support for many-to-one and many-to-many relationships #631


User avatar
0
robb created

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

Currently there's no support for many-to-1 (N:1) or many-to-many (N:N) relationships!

This is a major problem for us. Can you please tell us when it will be available?


4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    This is in the roadmap but there's no blocking case that implementing a N:N relationship. See

    1- https://docs.microsoft.com/en-us/ef/core/modeling/relationships?tabs=fluent-api,fluent-api-simple-key,simple-key#many-to-many 2- https://www.learnentityframeworkcore.com/configuration/many-to-many-relationship-configuration

  • User Avatar
    0
    robb created

    I'm sorry, it isn't clear what you mean.

    I understand that if I need to implement a base N:N relationship, I can hand-code it. But we purchased a license for ABP so we wouldn't have to do that.

    What I am asking for is support for N:N relationships in ABP Suite (entity/CRUD generator).

    And my original question was: Can you please tell us when it will be available?

  • User Avatar
    0
    alper created
    Support Team Director

    Sorry but I cannot tell a exact date for this feature. I think you can handle this easy task. Also ABP cannot solve all the software problems, and it's written in the docs that it's not supported for now. So thanks for your understanding.

  • User Avatar
    0
    hakan.uskaner created

    Hi Alper,

    i have searched you support Database for the support of these realtionships with ABP Suite.. Yes this can be done be hand coding, but would this break our code in future version of the abp suite ? Besides that it would be great if you could give an info where on your roadmap its planned.. i did search at github milestones but couldnt find any info about it.. currently i am evaluating your commercail solution..

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09