Extra column/field on IdentityUserRoles table using Identity 2 and Entity Framework 6
问题 I'm using a custom implementation of the IdentityUser class in my project. The problem is that Entity Framework adds an extra column in the table IdentityUserRoles , mapping the child class Id as a constraint. I know that EF is probably getting confused on figuring how to map the relationship with this new class, I just don't know why and how to solve it. I've been searching the web about this EF behavior, but couldn't find a solution yet. Here are some screenshots that summarize the problem: