Open Closed

Changing relations in the AbpUsers Table #3489


User avatar
0
elif.altin created
  • I want to change the relations of the "Email" section in the "AbpUsers" table.
  • I want to connect n-n (Many to Many) instead of 1-n (Many to One).
  • Is it possible to do this by changing the architecture inside the table itself, not by binding it with "UserId". Can I do this in an intermediate table?
  • I want to make changes in the code according to the structure I have set up.
  • I couldn't do it because I couldn't access the entity information of the "AbpUsers" table when I looked at the source codes. And I don't know what it affects.
  • Is it possible to do make an arrangement like this? Or is the architecture not flexible on this?
  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    hi

    I suggest you download the source code to custom relations.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    elif.altin created

    Hi Maliming,

    Can you provide more detailed information ? Because I couldn't find the relations in the source codes I downloaded.

    Thank you.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can add the Identity to your solution, Then customize the entities and relations of them.

    https://github.com/abpframework/abp/tree/dev/modules/identity https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUser.cs#L15 https://github.com/abpframework/abp/tree/dev/modules/identity https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/IdentityDbContextModelBuilderExtensions.cs#L15

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 16, 2026, 07:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.