C
C#10mo ago
Draggo

✅ Primary Key not recognizing

Can't seem to rid my code of this error, my primary key looks correctly organized for recogonition. Please help, thanks!
No description
4 Replies
Draggo
DraggoOP10mo ago
No description
Angius
Angius10mo ago
Try to just name it Id? There's no need for the repetition of the entity name in the PK anyway Also, save your files The dots next to their names tell me they're not saved, so EF will be using whatever old version that was last saved
Draggo
DraggoOP10mo ago
I just tried Id, got same issue (with saved files) Actually its for book now now let me change that, one moment Cool worked, sorry for dumb question didn't realize save mattered. Thank you so much!
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server