AbrahamJLR
❔ Entity Framework relationship problem between entities.
In this case Entity Framework will not work, I get the error: The entity type 'User' requires a primary key to be defined. And my doubt is born right there, what would be the correct way to establish that relationship?
22 replies
❔ Entity Framework relationship problem between entities.
I don't know what to answer. There are more classes that will also inherit from the Entity class, the question itself doesn't seem clear to me either, and that's why I don't know how to set up the assignment correctly. Before asking here I looked for more answers from people doing the same course on github and no one did that part. Since I don't have direct support for doubts, I ended up here thinking that it was a lack of knowledge on my part.
22 replies