EF solves WCF problem

I have created a WCF service based on the Entity Framework model. When I use the service from a console app, WinForm app and WPF app everything works. I can see entites and can add / remove / etc. However, when I try to use the same WCF service from a web application, I get errors stating that entities are not recognized. It looks like edm is not included in the service call in this case. Suggestions? thank.

+1


source to share


1 answer


I think I came across an answer. I named the service reference in my web app the same as my edm, which doesn't seem to bother the console app, WinForm app and WPF app, but causes the web app problem. Curious. Any ideas?



0


source







All Articles