Hallo, fellow Coders
I’ve been struggling with Google yesterday all day and this morning trying to find an example or tutorial on how to use the EntityFramework 5 or 6 (with the T4 code generation strategy) on a Silverlight 5 project.
Until now I've been using Visual Studio 2010 and the ObjectContex way. Create the ADO.NET Entity Data Model, a Domain Service, the metadata accordingly and "voilá".
In Visual Studio 2012 I tried to go the same way after installing EntityFramework 6 and got stuck with the T4 code generation strategy, DBContext and the fact that Domain Service wizard doesn’t find the edmx I’ve just created, even after rebuild.
I’m absolutely in the dark here and the rope on my neck … well … I can feel it stretching!
Probably I’m going in an absolutely wrong direction but here’s my question.
Is there any “How to” or tutorial link that You know of on how to get to the data from the Silverlight project after creating the ADO.NET Entity Data Model on the web project?
All I could find in the net pointed me either to creating a WCF web service on the web project or the use of EF 5 with ObjectContext code generation strategy and going back to the old way.
Thanks for any knowledge You can enlighten me with.