How to integrate Identity and business layer in an ASP.NET Core project?
ASP.NET
1
Posts
1
Posters
7
Views
1
Watching
-
My project has a database with multiple tables. One table is Users that has a key called userId. Other tables are Messages, Notifications, and Files that have relationship with the User table through userId. I can create User table (a customized Identity system) using EF Core Identity. User table is created using a class inherited from IdentityDbContext class while other tables are created using a class inherited from DbContext class. My problem is that how can I create those other tables while keeping their relation. Please help me.