Error while doing Migrations EF core 2.0, changing Identity id from string to int
问题 Scenario: I have received auto generated project in ASP.NET CORE from my colleague. There is auto-generated code for Account/Manage service. This code includes ApplicationUser Class, DBContext and migration folder with 00000000000000_CreateIdentitySchema.cs and 20180323155805_Snapshot.cs. I have been trying to change my User class to have integer id. To do that I added generic to IdentityUser: public class ApplicationUser : IdentityUser**<int>** { } I also had to create ApplicationRole class,