Open Closed

ABP Suite not working with two 1-n relation with same entity #4587


User avatar
0
gajanayaka created

We are evaluating ABP framework to use our new SAAS project. ABP Suite not working with two 1-n relation with same entity.

We have Address entity and we have Route entity.

Route entity has FromAddress and ToAddress relations to address entity. when we create this in Abp suite we are getting lot of compile errors.

I have created two fields such a way the not to duplicate the name. But still not working. please check and let us know what is the best practice to create this?

  • ABP Framework version: v7.0.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"1) Create address entity. 2) Create Route entity with two 1-n relationships FromAddress and ToAddress. 3) Compile the project

2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Yes, the abp suite doesn't support it, you should configure it manualy

  • User Avatar
    0
    gajanayaka created

    ok

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