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
3 Answer(s)
-
0
hi
I suggest you download the source code to custom relations.
-
0
Hi Maliming,
Can you provide more detailed information ? Because I couldn't find the relations in the source codes I downloaded.
Thank you.
-
0
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