O'Reilly logo

Entity Framework 4.0 Recipes: A Problem-Solution Approach by Larry Tenny, Zeeshan Hirani

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

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

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