I have an application that uses EntityFramework edmx models, and I want to be able to use the same dbContext for my Identity classes and entity classes. Someone raised Similar queries , but I can't get them to be compatible.
ive changed the class definition in the EF context class as shown below
public partial class MyDbContext : IdentityDbContext<AspNetUser> { }
and my user id
public partial class AspNetUser : IdentityUser { }
but I get an error when trying to login or register
AspNetUser object type is not part of the model for the current context
c # visual-studio-2013 entity-framework asp.net-mvc-5 asp.net-identity
Tim
source share