Add Primary Key of Linked Table to ASPNETUsers table Id field
问题 I have successfully linked aspnetusers table to my custom users table as one-to-one relationship. Now when i go to register all information is successfully added to both tables except one thing - Id. My pk userId in users table is an AutoIncrement key and i wish to add the same value in the id field of aspnetUsers table. I think i will have to override createAsync or do i remove from SignInAsync await user.GenerateUserIdentityAsync(UserManager) Inside AccountController Register method, I have