EF Core 8 – Database Update -> Unable to create a ‘DbContext’ of type
I am creating my database via code first. I can do a database add migration without errors, but when I am calling:
dotnet ef database update –project .BKR.DB –startup-project .BKR.Web –context BKRContext
.core Entity Framework add custom field to UsersRoles entity using IdentityRole
I’m using .NET Core with MinimalAPI and EntityFramework 8 for a personal project. To manage registration and login, I’ve used Identity Management out of the box. Now, I need to add some additional information about the relationship between users and roles without resorting to a custom table, but unfortunately, I haven’t been able to find documentation on this.