I have a project that has a USUARIOS
table. And now we are migrating to AspNet.Identity
which already has a table but called AspNetUser
and with its own fields. And my USUARIOS
table has relationships with People and other tables in my context.
I even thought about keeping the 2 tables and at the time of registering a new user, or updating the user, change them in 2. But keeping 2 tables with duplicate data does not seem correct.
Then how to customize AspNetUser so that it has the name, fields, and relationships I need? Since I started the project without authentication and added Entity from Nuget. Another data is that I'm using CodeFirst in the general Context of the application. And in the image below is my existing USER table, which can not be modified. I think AspNetUserRules could turn out to be the PROFILE too, right?