How to add new colum into Identity RoleClaims table (asp net core)
问题 I'm trying to add a column to the identity (asp net core) RoleClaims table but I find content just to extend the roles and users classes and not to RoleClaims. Could someone help with examples or point out content. 回答1: You would need to create a new class to extend the RoleClaim . Here is an example of how to do it if your key type is string : public class ApplicationRoleClaim : IdentityRoleClaim<string> { public virtual ApplicationRole Role { get; set; } } You can add whatever new