Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Updated 20-Feb-14 4:01am
v5

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