Chapter 1. Data access reloaded: Entity Framework

 

This chapter covers
  • DataSet and classic ADO.NET approach
  • Object model approach
  • Object/relational mismatch
  • Entity Framework as a solution

 

When you design an application, you have to decide how to access and represent data. This decision is likely the most important one you’ll make in terms of application performance and ease of development and maintainability. In every project we’ve worked on, the persistence mechanism was a relational database. Despite some attempts to introduce object databases, the relational database is still, and will be for many years, the main persistence mechanism.

Nowadays, relational databases offer all the features you need to persist and retrieve data. You ...

Get Entity Framework 4 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.