Working with the Entity Framework from Silverlight

One of the often-used Object Relational Mappers in a .NET environment is the Entity Framework. This ORM can be used together with Silverlight. As getting data into a Silverlight application is typically a matter of using a service-oriented approach, the same applies here.

In this recipe, you'll learn how to get data from an Entity Framework model into your Silverlight application. This recipe is very much like the previous one—the techniques are the same; the difference mainly lies in the way you create this model and in the queries you'll write to manipulate data.

Getting ready

We're starting from a starter solution that already includes the XAML markup for the UI and a WCF service. If you want, ...

Get Silverlight 4 Data and Services Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.