Starts in:
2 DAYS
8 HRS
43 MIN
40 SEC
Starts in:
2 D
8 H
43 M
40 S
Open Closed

Many to many relationship entities using ABP Suite #615


User avatar
0
LeonTee created
  • ABP Framework version: v3.1.1
  • UI type: Angular

Understand that ABP Suite does not support many-to-many (N:N) relationships when creating Navigation Properties. Our project requires us to support such relationship in our Entities. May I know what is the appropriate way to create such a relationship using ABP Suite?

To use your tutorial as an example, we need to support Tagging in the Book entity.

Book 1=>* Tagging Tagging *=>1 Tag

This would create many to many relationship. Please help to suggest a way to create such entities using ABP framework. If this is not possible, please suggest a way that ABP can support to create such scenarios. Many thanks!

Best regards, Leon


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

    hi, we use EF Core, so sure you can have many to many relationship. This is not directly related to ABP but EF Core. See https://docs.microsoft.com/en-us/ef/core/modeling/relationships?tabs=fluent-api,fluent-api-simple-key,simple-key#many-to-many

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