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

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