Why this violates the constraint of type parameter 'TUser'?
问题 I am trying to customize asp.net identity entities with the following ones: public class User : IdentityUser<string, UserClaim, UserRole, UserLogin> public class UserClaim : IdentityUserClaim<string> public class UserLogin : IdentityUserLogin<string> public class UserRole : IdentityUserRole<string> public class UserToken : IdentityUserToken<string> public class Role : IdentityRole<string, UserRole, RoleClaim> public class RoleClaim : IdentityRoleClaim<string> I have then created a DbContext