O'Reilly logo

Silverlight 4 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required