Programming Entity Framework

Programming Entity Framework
Julia Lerman
12 Feb 2009
Purchase online

Programming Entity Framework is a thorough introduction to Microsoft's new core framework for modeling and interacting with data in .NET applications. This book not only gives experienced developers a hands-on tour of the Entity Framework and explains its use in a variety of applications, it also provides a deep understanding of its architecture and APIs. From the Entity Data Model (EDM) and Object Services to EntityClient and the Metadata Workspace, Programming Entity Framework covers it all.

Page 2 of 2
  1. Editorial Reviews
  2. Customer Reviews

Customer Reviews

Akash Aggarwal said
I am into Chapter 8 now and so far enjoying the book. There are instances where reviews can be misleading but I am glad the average review for this book are not at all overrated and very genuine.

Keith S. Safford said
This is one well written and great to read technical book. The author does a superlative job of explaining the material and supplementing it with numerous examples which the reader should work through as they are reading. Examples are excellent at demonstrating the power and flexibility of the Entity Framework.

If you are learning EF and do not have this book, just buy it!

Chris Russi said
The author, Julia Lerman, has a wonderful writing style that has kept my interest peaked on the topic of the Entity Framework. Not only that, but, her samples (both in VB.NET and C#) make learning the technology much easier. She provides an equal balance of discussion and sample code. Her deep insight on EF is clear from the start and she points out many "need to know" facts. I highly recommend this book to anyone who wants to be able to use the EF with their application development.

Michael A. Marsh said
Entity Framework (EF) will be a foundational technology for Microsoft for many years to come...just poke around Microsoft's site and see how many other departments are using it outside of the ADO.NET team. There already are database EF adapters for Oracle and IBM's DB2 amongst other databases...Oracle and IBM see the future and so should you. You can add EF to the list of must-learn technologies for the Microsoft platform which also includes WCF, WF, LINQ and WPF/SilverLight. Combine EF and WPF/SilverLight, using MVVM for the Presentation Model, with Prism/Unity for modular design and cross cutting concerns (validation, logging, cache, security, real-time constraints, monitoring, ?business rules) you will have a powerful architectural infrastructure. Domain Driven Design (DDD) is the architectural mindset Microsoft is blueprinting with EF a cornerstone of DDD implementation. Model Driven Development will mature in the future "Oslo" effort and EF will figure prominently. DDD is as much a team discipline and mindset as it is an architectural pattern that EF facilitates. In EF version 1 (EFv1), combined with present day modeling tools, is already better than OMG's MDA(Model Driven Architecture) in building real world applications in my opinion. EFv1 currently supports the Active Record pattern (as does LINQ-to-SQL according to Dino Esposito in Microsoft® .NET: Architecting Applications for the Enterprise (PRO-Developer)) with further support for Domain Model pattern in the upcoming EF4 (i.e. EF version 2 on .NET 4.0). EF is more than an ORM, but EFv1 is not without well placed criticism of shortcomings implementing DDD and impairment of various development methodologies such as Agile. Nevertheless going forward EF, especially with upcoming EF4 will more fully follows DDD principles, will be everywhere, so you might is well start now. The concepts will be the same in EF4 with added benefits of "model first" design, support for POCO (plain old CLR objects), N-Tier, Reports, and improved Testability as well as the niggling issue of "pluralization". NHiberbnate, an open source project supported by RedHat, reportedly has many of these features planned for EF4 now, but does not have the weight of a broad Microsoft strategy behind it. Choosing NHibernate over EF, is an important strategic/emotional decision. Ideablade's DevForce , which builds off EFv1 now and soon EF4 when it is released, helps with some of these pain points and more now....but you still need to understand EF. Architecting software is difficult and there are no tools to magically create well designed architectural patterns. EF as a foundational component will put you on a solid footing and put you in a DDD frame of mind, while doing a good deal of grunt work for you, so you can spend more time on business logic and UI usability.

The table was set with Entity Relationship Modeling by Dr. David Chen in the 70's and garnished by Martin Fowler's Patterns of Enterprise Application Architecture (Addison-Wesley Signature Series) Eric Evans'Domain-Driven Design: Tackling Complexity in the Heart of Software and Jimmy Nillsson's Applying Domain-Driven Design and Patterns: With Examples in C# and .NET, DDD is now being served to the masses by Microsoft. Julia Lerman with "Programming Entity Framework" does not try to emulate these seminal works. She takes you in a practical step by step approach through EFv1 without being a simplistic Step-by-Step book. The initial examples are simple, but it would be asinine to use Adventure Works in the initial chapters unless you are like Kobayashi at Nathan's hotdog eating contest. I like my hotdogs and concepts one at a time. The examples and databases become more complex as the book goes forward showing the nitty gritty underpinnings and practical applications of EF.

Despite Julia's reluctance to write books, as suggested in her preface, I think she will be on the book publishing treadmill for a long time given the raves about this book, EF's strategic positioning by Microsoft and the attendant demand for well explained intricacies of this emergent technology. Her book is wonderfully explanatory, especially compared to the other book on the market regarding LINQ and EF. I predict she will not be able to resist readers holding up their lighters, like at a concert begging for an encore, especially with EF4 around the corner followed by EF5.

Gregory J. Fequiere said
Yes, indeed, that is book to have if you want to really master the ADO.NET Entity Framework. The Author has done a superb job. I will definitely recommend that book to any .NET Superstar Developer who wants to learn this technology.

You might also like...



Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The greatest performance improvement of all is when a system goes from not-working to working.” - John Ousterhout