Chapter 4. Using Entity Framework in ASP.NET

In this chapter, we show you how to use the Entity Framework in your ASP.NET web pages. You could, of course, use many of the methods shown throughout this book in the code behind for your pages, but in this chapter we focus specifically on using the declarative approach provided by EntityDataSource and ObjectDataSource controls.

The EntityDataSource control together with the QueryExtender control provide a powerful, yet easy-to-understand way for you to build ASP.NET web pages that leverage much of the capabilities of the Entity Framework. The recipes in this chapter cover everything from simple searching to building a complete insert, update, delete, and search page. The last recipe in this chapter ...

Get Entity Framework 4.0 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

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