Help me in getting out of these errors:
Error 2
'System.Data.Objects.ObjectSet
Error 3
'CRUDs.CRUDsEntities' does not contain a definition for 'Entry' and no extension method 'Entry'
Error 4
'System.Data.Objects.ObjectSet
THNKS! :)
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ramesh MaruthiRank #937 · 2.2K reputationPosted Aug 8, 2014, 6:26 AM EDT
The add and remove are from EntityFrame namespace System.Data.Entity
so my guess is using System.Data.Entity missing ? Also check reference EntityFramework.dll added in project ? Or use package manager (nuget) to get EF added in project?, Does your context derive from DBContext ? If not No add. If you see AddObject, you are most likely deriving from ObjectContext instead
Abhishek JaiswalRank #126 · 17.5K reputationPosted Aug 11, 2014, 11:44 AM EDT
that namespace n dll are already in my project snippet.
Ramesh MaruthiRank #937 · 2.2K reputationPosted Aug 11, 2014, 12:06 PM EDT