© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
César Prado

EF problem with mapping

I have the following problem in the many to many mapping of my join entities

errors:
Microsoft.EntityFrameworkCore.Model.Validation[10625]
      The foreign key property 'RolePermission.PermissionUuid2' was created in shadow state because a conflicting property with the simple name 'PermissionUuid' exists in the entity type, but is either not mapped, is already used for another relationship, or is incompatible with the associated primary key type. See https://aka.ms/efcore-relationships for information on mapping relationships in EF Core.

Microsoft.EntityFrameworkCore.Model.Validation[10625]
      The foreign key property 'RolePermission.RoleUuid1' was created in shadow state because a conflicting property with the simple name 'RoleUuid' exists in the entity type, but is either not mapped, is already used for another relationship, or is incompatible with the associated primary key type. See https://aka.ms/efcore-relationships for information on mapping relationships in EF Core.
Microsoft.EntityFrameworkCore.Model.Validation[10625]
      The foreign key property 'RolePermission.PermissionUuid2' was created in shadow state because a conflicting property with the simple name 'PermissionUuid' exists in the entity type, but is either not mapped, is already used for another relationship, or is incompatible with the associated primary key type. See https://aka.ms/efcore-relationships for information on mapping relationships in EF Core.

Microsoft.EntityFrameworkCore.Model.Validation[10625]
      The foreign key property 'RolePermission.RoleUuid1' was created in shadow state because a conflicting property with the simple name 'RoleUuid' exists in the entity type, but is either not mapped, is already used for another relationship, or is incompatible with the associated primary key type. See https://aka.ms/efcore-relationships for information on mapping relationships in EF Core.
01.png
02.png
03.png
04.png
05.png
06.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

EF problem with mapping
C#CC# / help
2y ago
✅ Dotnet ef problem
C#CC# / help
3mo ago
EF Structuring Problem
C#CC# / help
4y ago
✅ dotnet ef scaffold problem
C#CC# / help
3y ago