Inherit from IdentityUser I get an error on UserManager<User>
问题 I'm developing a Web Api 2.2 application with .NET Framework 4.5.1 and Asp.Net Identity 2.1.0. I'm not sure what I'm doing, but I want to merge my database with ASP.NET Identity database and I have done this: My own dbContext . public class EFDbContext : IdentityDbContext, IUnitOfWork My own User class. public class User : IdentityUser<long, IdentityUserLogin<long>, IdentityUserRole<long>, IdentityUserClaim<long> > But when I do this: UserManager<User> _userManager; I get this error: The type