EF Core not fetching sub-entities by Id [Answered]
I'm kinda new to EF Core so maybe the terminology is not right.
I have the following models:
Player:
Group:
And tables:
Players:
Groups:
It works fine when adding a player, it inserts the GroupId as i would expect it to, but when fetching
Group is null
Why is this happening?
2 Replies