when using asp.net Core 3.1 and Entity Framework to do a initial Migration I got a the entity type \'X\' requires a primary key to be defined
enter code here