O'Reilly logo

ASP.NET 4.0 in Practice by Marco De Sanctis, Stefano Mostarda, Daniele Bochicchio

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 2. Data access reloaded: Entity Framework

 

This chapter covers
  • Designing an application
  • Understanding an ORM
  • Learning Entity Framework
  • Reading and updating data with Entity Framework

 

When databases are in place, accessing data becomes a key concern. The way you communicate with the database and, more importantly, the way you represent data inside your application becomes one thing that can shift your application from one that works to a real success.

You have a lot of options. The first option is to use ADO.NET objects, like connections, adapters, readers, and datasets. This approach is easy to understand and enables you to immediately start writing code.

Another option is to use ADO.NET classes to interact with the database ...

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