The docs need updating, according to the tutorial there is an annotation for PK
https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/complex-data-model?view=aspnetcore-2.2&tabs=visual-studio#create-the-officeassignment-entity
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@zidocread See https://docs.microsoft.com/en-us/ef/core/modeling/keys
Thank you. Sorry, I was confused. You can close or delete this.
@divega The separation of core and relational topics does seem to trip people up...
Probably we can make things more discoverable by by:
It tripped me up too. The summary for the Relational Database Modeling page (https://docs.microsoft.com/en-us/ef/core/modeling/relational/) makes it sound like core topics are included (or at least, it doesn't specifically say they are excluded)
Duplicate of #862
Most helpful comment
Probably we can make things more discoverable by by: