Fix: The entity type IdentityUserLogin requires a primary key to be defined | ASP.NET CORE

preview_player
Показать описание
The entity type IdentityUserLogin requires a primary key to be defined | ASP.NET CORE
The entity type IdentityUserRole requires a primary key to be defined | ASP.NET CORE
The entity type IdentityUserToken requires a primary key to be defined | ASP.NET CORE
Рекомендации по теме
Комментарии
Автор

This is not right. You need to have in your DbContext : IdentityDbContext class in method OnModelCreating so that everything from IdentityDbContext will be automatically mapped.

lubobir