Click here to Skip to main content
15,920,602 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have upgraded the EF4 to EF5. But now i am getting some errors in the properties and methods, that are already in the EF4. My solution was completely in EF4 and i have used the methods like
But after update the EF5 not supporting these methods and instead of the it having Add() and Remove() methods. It will completely ruin my solution.

Please help me to solve this ..:)
DaveAuld 3-Oct-12 7:21am    
Have you checked that the webconfig reference are using the correct versioning, and the ef5 bins have been copied across to the build folder.

"Ctrl + Shift + H" is your friend... :-(
Share this answer
I was using DbContext with EF5. So i have revert back it to the Object Context

Here is it...[^]

Done !! Enjoy with EF5 Querying!!

Thank you :)
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900