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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.