Appendix A. Database, connection, and data model setup

In several examples in this book, including those in the printing (see chapter 31), MVVM (see chapter 33), and WCF RIA Services (see ebook appendices D, E, and F), you 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, you’ll install the database, then 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. The steps are intended to be performed as part of a larger project setup. You’ll be referred to this appendix at a specific point in each of the chapters, by which time you’ll already have a ...

Get Silverlight 5 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.