❔ EF Core Add Migration issue
I'm working on an ASP.Net Core 7 API project, this project is in a solution that contains 5 projects (
Core
, IdentityCore
, EFCore
, CQRSCore
and WEB
)
I try to integrate the Ientity
in my solution by using the folowing AppUser
entity:
And the folowing AppDbContext
Why I get this error when try to add a new Migration
The seed entity for entity type 'AppRole' cannot be added because no value was provided for the required property 'Id'.
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.