Open Closed

ABP Suite multiple navigation properties for the same table #9056


User avatar
0
lszabados@consult2000.hu created
  • Exception message and full stack trace: The name 'xxxCollection' does not exist in the current context

  • Steps to reproduce the issue: Blazor CRUD Page generator to create two 1-n connections where the Dependent entity is the same

When creating the connection, I need to modify the Property Name and Collection name values to be created. This can be found in the Advanced tab at point 3. This works correctly.

In the resulting xxx.razor.cs file, only the first collection is created. The references are there, only the collection is missing.

Manually creating it works, but every update deletes it again.

Also, only one entry is created from GetxxxCollectionLookupAsync, where xxx is the original Entity name, not the renamed one, so only one field works in the create and update modal windows.

While this is not a bug, it would also be nice if the navigation properties could be set to appear on Create and/or Update modalities.

Best Regards,

Laszlo Szabados


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will check this case in the Suite.

    Thanks.

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