Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 27, 2013 02:09 AM by LLahman
Jan 26, 2013 05:17 PM|LINK
This is a tricky if you can zip then put at skydrive, might help. As my understanding the return type from stored procedule is ObjectResult, It is not compatible with linq so that you'd better convert it to appropriate type.
Jan 27, 2013 02:09 AM|LINK
My thanks to all who tried to help. This one is a little strange, but I have resolved it. It would appear to be an actual bug somewhere down inside Visual Studio or the Entity Framework. Are you ready?
All I had to do was add a real .edmx (to a different database) to the web application, then delete it, and the reference to the other compiled class library (.dll) worked fine. It would seem that just adding a reference to the .dll and adding the necessary
web.config sections is not enough. Something is added to the project when a real .edmx is created and added via the Add New... process.
I cannot take credit for resolving this problem. I found the solution described in a stackoverflow.com thread (you have to scroll down to the bottom)...
That's all the there was to it.
If anyone can pass this on to those involved at Redmond, we would all appreciate it!