
Amazon Prime Free Trial
FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with FREE Delivery" below the Add to Cart button and confirm your Prime free trial.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited FREE Prime delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Programming Entity Framework 2nd Edition
Purchase options and add-ons
Get a thorough introduction to ADO.NET Entity Framework 4 -- Microsoft's core framework for modeling and interacting with data in .NET applications. The second edition of this acclaimed guide provides a hands-on tour of the framework latest version in Visual Studio 2010 and .NET Framework 4. Not only will you learn how to use EF4 in a variety of applications, you'll also gain a deep understanding of its architecture and APIs.
Written by Julia Lerman, the leading independent authority on the framework, Programming Entity Framework covers it all -- from the Entity Data Model and Object Services to WCF Services, MVC Apps, and unit testing. This book highlights important changes for experienced developers familiar with the earlier version.
- Understand the core concepts you need to make the best use of the EF4 in your applications
- Learn to query your data, using either LINQ to Entities or Entity SQL
- Create Windows Forms, WPF, ASP.NET Web Forms, and ASP.NET MVC applications
- Build and consume WCF Services, WCF Data Services, and WCF RIA Services
- Use Object Services to work directly with your entity objects
- Create persistent ignorant entities, repositories, and write unit tests
- Delve into model customization, relationship management, change tracking, data concurrency, and more
- Get scores of reusable examples -- written in C# (with notes on Visual Basic syntax) -- that you can implement right away
- ISBN-100596807260
- ISBN-13978-0596807269
- Edition2nd
- PublisherO'Reilly Media
- Publication dateSeptember 28, 2010
- LanguageEnglish
- Dimensions7 x 1.9 x 9.19 inches
- Print length916 pages
Frequently bought together

Customers who viewed this item also viewed
From the brand

-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
-
Your partner in learning
-
Bestsellers
-
Software Development
-
Programming Languages
-
AI / Machine Learning
-
Data Science
-
Data, Databases and more
-
Cloud Services
-
Business
-
Finance
-
Blockchain / Cryptocurrency
-
Security
-
Cookbooks
-
Head First series
-
97 Things series
-
Lean series
Editorial Reviews
About the Author
Julia lives in Vermont with her husband, Rich, and gigantic dog, Sampson, where she runs the Vermont.NET User Group. You can read her blog at www.thedatafarm.com/blog and follow her on Twitter at julielerman.
Product details
- Publisher : O'Reilly Media
- Publication date : September 28, 2010
- Edition : 2nd
- Language : English
- Print length : 916 pages
- ISBN-10 : 0596807260
- ISBN-13 : 978-0596807269
- Item Weight : 3.15 pounds
- Dimensions : 7 x 1.9 x 9.19 inches
- Best Sellers Rank: #3,258,255 in Books (See Top 100 in Books)
- #146 in Microsoft Access Database Guides
- #310 in Microsoft .NET
- #396 in C# Programming (Books)
- Customer Reviews:
About the author

Julia Lerman is the leading independent authority on the Entity Framework and has been using and teaching the technology since its inception in 2006. She is the author of the highly acclaimed book, Programming Entity Framework, 1st and 2nd editions and is well known in the .NET community as a Microsoft MVP, ASPInsider, and INETA Speaker. Julia is a frequent presenter at technical conferences around the world and writes articles for many well-known technical publications including the Data Points column in MSDN Magazine. Julia tweets at @julielerman and blogs at http://thedatafarm.com/blog.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book serves as an ultimate EF reference and programming guide, with great examples that make it suitable for beginners. Moreover, the content depth receives positive feedback, with one customer noting it goes beyond usual filler chapters. However, the organization receives mixed reviews, with some finding it well-organized while others say it needs work. Additionally, several customers mention the book is wordy in places.
AI-generated from the text of customer reviews
Select to learn more
Customers find the book readable and comprehensive, with great examples that make it suitable for beginners learning Entity Framework.
"...She covers building basic models, advanced modeling techniques, and customizing the model with stored procedures, plus all the pros and cons of each...." Read more
"...book for training intermediate to advanced .NET developers as a readable primer, and is about the best of its kind currently available on the markets." Read more
"...Like Juval's WCF book, this EF book begins with well-organized introductory material, but later chapters contain a jumble of practical application..." Read more
"...2. It covered all the related technologies with enough depth that I don't have to buy a LINQ book, WPF book, etc, just to use EF...." Read more
Customers appreciate the depth of the book's content, with one customer noting it goes beyond typical filler chapters, while another mentions it contains a wealth of information.
"...Interacting with data as entities instead of just database tables projected as classes into my apps is a whole new world...." Read more
"...It's replete with code samples and the explanations of the Entity Data Model are some of the most thorough I've found in any book on this..." Read more
"...is methodically revealed from top to bottom and the final result is a solid understanding which enables application developers to tackle real-world..." Read more
"...There is also the occasional nugget of detailed information at just the right time along the way to provide context, without deluging the reader...." Read more
Customers have mixed opinions about the book's organization, with some finding it well-structured while others say it needs improvement.
"...Despite some reviews, I found the book well organized considering the depth of the topics...." Read more
"...Unfortunately the organization of the book needs work...." Read more
"...The table of contents are logically ordered, and if you compare to the previous version, there are a few changes...." Read more
"The content and chapters of this book are poorly organised. It's too wordy and not to the point...." Read more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on December 21, 2010In today's internet-connected world of forums and blogs, I find myself buying fewer and fewer books. Instead I search the web for an example of what I need to do, integrate that into my application, and move on. Well I tried that approach with Entity Framework and quickly hit a wall. And no amount of internet forum or blog reading satisfied my need to understand just how this new ADO.NET animal worked. Understanding EF for me has been similar to the learning curve in switching from procedural to object-oriented programming. Interacting with data as entities instead of just database tables projected as classes into my apps is a whole new world.
Well, this book is definitely worth the buy and the read, and I mean all 800+ pages of it. This book is awesome! Julie Lerman starts at the beginning and explains where we've come from in ADO.NET and why programming to entities is a better way to look at your data. There are scores of examples throughout the book, and she builds two different data models as the book progresses. She covers the obvious topics but also brings up subtleties that you probably wouldn't hit until your 3rd or 4th application. She covers building basic models, advanced modeling techniques, and customizing the model with stored procedures, plus all the pros and cons of each. She covers LINQ to Entities, Entity SQL, and POCO entities. She covers integrating EF with WPF, WCF, and ASP.NET in both RAD and layered web applications. In my opinion, she covers it all.
I started at the beginning and then skipped ahead to a couple of topics I needed right away. This worked, but the book kept referencing other topics in other chapters I hadn't read - which all sounded interesting and good to know. I've now gone back and read the chapters I initially skipped. This will be a well-worn book beside my keyboard as I continue to work with the wonderful new world of Microsoft's Entity Framework.
- Reviewed in the United States on April 19, 2012Entity Framework 4 is unarguably the fastest evolving data provider of any that Microsoft has released to this point. This makes it a moving target and books released on the subject are practically out of date by the time they're released. Despite that, I think Ms. Lerman's done an excellent job with this title and has released quite a bit of supplementary material on the MSDN sites and her blog [...] as well.
While the text is aimed at those familiar with .NET programming and not necessarily EF (as the book states), readers should have a solid understanding of ADO.NET. Those who have previous experience with LINQ to SQL classes will definitely benefit in understanding the contents of this book. Despite some reviews, I found the book well organized considering the depth of the topics. It's replete with code samples and the explanations of the Entity Data Model are some of the most thorough I've found in any book on this subject.
Where I think the book falls short is in its attempts to cover the building of applications using EF across multiple platform types, such as WCF, Windows Forms and web applications. I think O'Reilly's better option here would have been to slim the book back to core topics and issue separate editions to cover these different platforms.
Unlike most reviewers, I did not feel it would serve as much as a shelf reference as its adjunct books, Programming Entity Framework: Code First and Programming Entity Framework: DbContext. However, it is still a fine book for training intermediate to advanced .NET developers as a readable primer, and is about the best of its kind currently available on the markets.
- Reviewed in the United States on October 26, 2010First - go ahead and get this book. Second - Please let me refine an important point straight away. I would have liked Amazon to provide multiple categories for rating this book and many other books.
Perhaps this chart will help to clarify:
Reference Value = *****
Quick Start Value =**
Organization=***.5
Depth=*****
My priority is Quick Start, hence the 3 star rating. Your mileage may vary.
Background
Like Juval's WCF book, this EF book begins with well-organized introductory material, but later chapters contain a jumble of practical application techniques, deep dives into implementation details, anecdotes, and copious detail. By the time I reached the mid-point of the book, I was buried in detail without a practical understanding of how to approach the immediate modeling problem at hand. I am just now shifting my attention over to the APress EF recipes book to reset my learning effort. I plan on interleaving my study of these two EF books from this point forward. For example, while I start to run through a bunch of the hands-on material in the APress recipes book, I'll fast forward to later chapters of the Lerman book for material on N-Tier, MVC, and POCO.
What would be the best approach? Sanderson's MVC sets the benchmark as it is a perfect example of successive embellish. Success embellish begins with entry level material and builds one core concept upon another. Key material is methodically revealed from top to bottom and the final result is a solid understanding which enables application developers to tackle real-world problems. But it gets even better. The second half of the MVC book is a quasi-reference section that carves out each building block introduced in the first part of the book for detailed examination. I say quasi as MVC reference material is both detailed and practical.
So how could the EF book be improved? For my immediate quick start purposes, it would have been quite helpful if the EF material had been organized using the successive embellishment/reference section two-part model.
In summary, this book is a must have and is destined to become a trusty, dogged-eared volume on many prairie dog shelves. Best wishes on happy coding and natural light shining brightly on your p-dog cubicle.
Top reviews from other countries
-
RanjaReviewed in Japan on September 28, 2012
4.0 out of 5 stars 構成が今一つ
Entity Frameworkに関して非常に詳しく書かれている。文章も分かりやすいのだが、今一つ構成が悪いためか分かりにくいところがある。
こちらが当然疑問に思うことに対して、ずばっと書かれていないところがあったり、同じテーマでもAdvancedだからといって後の章に分けたりと、読んでいて何かすっきりしない。
入門用としては、「Entity Framework 4.0 Recipes」の方が分かりやすいかもしれない。
- Frederic TremblayReviewed in Canada on February 25, 2018
5.0 out of 5 stars parfait
parfait
-
Armand47Reviewed in France on October 14, 2012
4.0 out of 5 stars Livre à avoir pour ceux qui utilisent EF
Le livre présente très clairement les fonctionnalités d'EF 4.0.
Une partie de l'ouvrage (le premier quart dédié aux entities) est un peu moins pertinente pour tous ceux qui utilisent les POCO.
A compléter avec "Code First" et "DbContext" du même auteur.
-
d.PrevatoReviewed in Italy on January 21, 2016
5.0 out of 5 stars È una bibbia
È un testo sacro per chi vuole accostarsi all'Entity Framework in modo professionale; dà il meglio insieme con i due manuali satelliti "DbContext" e "Code First". Non so come se ne possa fare a meno, se si sviluppano applicazioni per Windows (e non solo).
- Judge BreadReviewed in the United Kingdom on December 31, 2014
5.0 out of 5 stars Great book for any .NET developer
This is a great book by Julia Lerman. Gives you a good understanding of how Entity framework operates and how to harness it and build a strong DAL.