Skip to Main Content

About The Book


Entity Framework 4 in Action is an example-rich tutorial for .NET developers with full coverage of EF 4 features. The book begins with a review of the core ideas behind the ORM model and shows through detailed examples and larger case studies how Entity Framework offers a smooth transition from a traditional ADO.NET approach.
About the Technology
Entity Framework builds on the ADO.NET persistence model and the language features of LINQ to create a powerful persistence mechanism that bridges the gap between relational databases and object-oriented languages.
About the Book
Entity Framework 4 in Action is an example-rich tutorial that helps .NET developers learn and master the subject. It begins by explaining object/relational mapping and then shows how you can easily transition to EF from ADO.NET. Through numerous focused examples and two larger case studies, the book unfolds the EF story in a clear, easy-to-follow style. Infrastructure and inner workings of EF are discussed when you need them to understand a particular feature.

This book is written for .NET developers. Knowledge of ADO.NET is helpful but not required.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
What's Inside
  • Full coverage of EF 4 features
  • Layer separation, Data Layer, and Domain Model
  • Best practices

Table of Contents

  1. Data access reloaded: Entity Framework
  2. Getting started with Entity Framework
  4. Querying the object model: the basics
  5. Querying with LINQ to Entities
  6. Domain model mapping
  7. Understanding the entity lifecycle
  8. Persisting objects into the database
  9. Handling concurrency and transactions
  11. An alternative way of querying: Entity SQL
  12. Working with stored procedures
  13. Working with functions and views
  14. Exploring EDM metadata
  15. Customizing code and the designer

About The Authors

Marco De Sanctis has been designing and developing enterprise applications in distributed scenarios for the last seven years. He currently works as a senior software engineer for one of the biggest Italian companies on the IT market; during his spare time, he's a content manager at

Stefano Mostarda is an ASP.NET MVP since January 2007 and a regularcontributor to the largest Italian ASP.NET Community, He has been working with the Entity Framework from its earliest betas and actively uses it to develop business applications.

Daniele Bochicchio is a Microsoft ASP.NET MVP since 2002 and the network manager of Network, the largest Italian .NET Framework community. He is the co-founder of, a consulting agency specialized in ASP.NET, Silverlight & .NET Framework. He is a well-known professional speaker and author. You can reach his personal website at

Product Details

  • Publisher: Manning (April 30, 2011)
  • Length: 576 pages
  • ISBN13: 9781638352211

Browse Related Books

Resources and Downloads

High Resolution Images