C
C#12mo 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
DraggoOP12mo ago
No description
Angius
Angius12mo 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
DraggoOP12mo 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 User12mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?