AbrahamJLR
AbrahamJLR
CC#
Created by AbrahamJLR on 1/14/2023 in #help
❔ Entity Framework relationship problem between entities.
I still have the same doubts, but thanks anyway for trying to help me.
22 replies
CC#
Created by AbrahamJLR on 1/14/2023 in #help
❔ 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
CC#
Created by AbrahamJLR on 1/14/2023 in #help
❔ Entity Framework relationship problem between entities.
Yep, before the assignment, inheritance was already being done that way. And it only asks to modify the mentioned methods.
22 replies
CC#
Created by AbrahamJLR on 1/14/2023 in #help
❔ Entity Framework relationship problem between entities.
May I abuse and ask how you would do the implementations of the properties present in Entity? Totally ignoring the example I supplied, I'm curious how you would do it from scratch.
22 replies
CC#
Created by AbrahamJLR on 1/14/2023 in #help
❔ 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