Appendix A. Database, connection, and data model setup

In several examples in this book, including those in reporting (see chapter 19), MVVM (see chapter 16), and WCF RIA Services (see chapter 17), we need to work against database data and an entity data model. For this you'll need SQL Server with the AdventureWorks database loaded.

In this appendix, we'll install the database, and create the database connection and the entity data model. The entity data model will be added to the ASP.NET web project in your Silverlight solution.

A.1 Install the AdventureWorks database

If your database installation doesn't already contain the AdventureWorks database, visit http://msftdbprodsamples.codeplex.com/ ...

Get Silverlight 4 in Action 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.