locked
Identity EFramework 3X RRS feed

  • Question

  • User1950598976 posted
    1)Will identity tables and project tables be in the same database? Examle : ASPNETUser(all) and other table Product,order,company etc..


    2)Would it be right for us to move Identity tables to Data Access in layered architecture?


    3)Can we change the identity tables table names? Examle: ASPNETUser ------>change Users


    4)Are identity tables relations with other tables? Example: user ---> PlayerTable(fk UserId)


    
    


    Sunday, September 27, 2020 4:36 AM

All replies

  • User-939850651 posted

    Hi sahinsancak,

    1)Will identity tables and project tables be in the same database? Examle : ASPNETUser(all) and other table Product,order,company etc..

    This will depend on your code. If you modify the applicationdbcontext, it will be in the same database.

    2)Would it be right for us to move Identity tables to Data Access in layered architecture?

    Yes. For example: All-in-one applications.

    3)Can we change the identity tables table names? Examle: ASPNETUser ------>change Users

    Yes, you could also refer to ASP.NET Core Identity Tables Customization With Visual Studio 2017.

    4)Are identity tables relations with other tables? Example: user ---> PlayerTable(fk UserId)

    Identity tables will have some foreign keys. I recommend you to refer to the relevant official documents for more details.

    Identity model customization in ASP.NET Core

    Best regards,

    Xudong Peng

    Tuesday, September 29, 2020 9:53 AM