✅ ForeignKey Entity Framework and Identity
I've got the following classes: "Account", "Post", "Tag" and "Image".
The "Post" class contains the following:
I can't seem to quite understand how this type of mapping works. Why can't the Lists simply reference the correct AccountId? I see no reason there could not be different fields referencing the same "Id" for different purposes.
What am I doing wrong?
The "Post" class contains the following:
I can't seem to quite understand how this type of mapping works. Why can't the Lists simply reference the correct AccountId? I see no reason there could not be different fields referencing the same "Id" for different purposes.
What am I doing wrong?