BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

multiple relation #7217


User avatar
0
innovawide created

I want to know how to create multiple relationships between two entities. The relationships include more than one many-to-one relation as well as many-to-many relations. However, I noticed that we cannot establish a relationship between the two classes unless the Display property is of type string. What if I want to display another property with an enum type or something else? Additionally, how can I create a self-association in a class, and can we establish a parent-child relationship? Can we accomplish all of this using ABP Suite?

ABP Framework version: v7.2.1 UI Type: Angular Database System: EF Core (SQL Server) Auth Server Separated (for Angular): Yes


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

    Can we accomplish all of this using ABP Suite?

    See https://docs.abp.io/en/commercial/latest/abp-suite/creating-many-to-many-relationship https://docs.abp.io/en/commercial/latest/abp-suite/creating-master-detail-relationship

    For the relationship, please refer to the EF Core document.

    https://learn.microsoft.com/en-us/ef/core/modeling/relationships

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.