C
C#3mo ago
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.
No description
No description
No description
No description
No description
No description
1 Reply
Angius
Angius3mo ago
What's EntityBase?