When using Asp.net Identity, a single bank is generated. And it is recommended to leave this bank only for Identity and create another bank for your application, as I read in some articles.
So far so good ... I went to see a video lesson (link in the last line) of Eduardo Pires where he creates a User entity in the application domain with the same data as the table "AspNetUsers", and in the repository it points to the Identity database and maps the User entity to the "AspNetUsers" table, and I can move the Identity User table as if it were in my system bank.
And my question comes from this:
In my application I must also have a User, but with data related to the business (CPF, City, Product List, Other entity, etc.), in addition to the data already contained in the AspNetUsers table. But I can not point this user to the Identity database, since I would already be mixing tables from the application bank with the Identity database. However I need the Identity table to control the User. How can I make this separation?
Video lesson link: link (from 30:20 minutes)
Project on Github: link