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

Get ASP.NET 4.0 in Practice 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.