✅ 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!
4 Replies
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 savedI 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•10mo ago
Message Not Public
Sign In & Join Server To View