Buy new:
-68% $19.04$19.04
FREE delivery Monday, March 31
Ships from: KICRI AMERICANO Sold by: KICRI AMERICANO
Save with Used - Good
$7.04$7.04
FREE delivery March 28 - April 2
Ships from: ThriftBooks-Dallas Sold by: ThriftBooks-Dallas

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

-
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
-
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.
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; 2nd edition (September 28, 2010)
- Language : English
- Paperback : 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: #1,992,235 in Books (See Top 100 in Books)
- #292 in Microsoft .NET
- #425 in C# Programming (Books)
- #447 in Microsoft C & C++ Windows Programming
- 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 easy to understand, with clear examples and a straightforward path to understanding the Entity Framework. They appreciate the wealth of information, including practical aspects and theoretical ones. However, opinions differ on the organization and wordiness of the book, with some finding it well-organized and logically organized, while others feel it needs work.
AI-generated from the text of customer reviews
Select to learn more
Customers find the book easy to read and understand. They appreciate the clear explanations and examples that help them learn the basics and complex topics of the Entity Framework. The book covers all the core topics and is considered a valuable reference for programming with the 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 book's depth of information. They find it comprehensive and thorough, covering both practical and theoretical aspects. The book provides background material and details in a clear manner.
"...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 different views on the book's organization. Some find it well-organized and logically organized, while others feel 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
Customers have different views on the book's wordiness. Some find it too long with 800+ pages, while others say it's too wordy in places.
"...Almost every classname and technical term in the book is garbage text making it impossible to read or learn from...." Read more
"...The size of most chapters is just right, typically 20-30 pages, which enables you to read it in one sitting and go through some of the code..." Read more
"...It's wordy in places, holding your hand way more than necessary...." Read more
"This book is a big, 800+ page text that uses all those pages to cover the breadth and depth of how EF can be used/configured across a universe of..." 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
- Frederic TremblayReviewed in Canada on February 25, 2018
5.0 out of 5 stars parfait
parfait
-
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).
-
Ich erwarte QualitätReviewed in Germany on January 14, 2015
4.0 out of 5 stars Ein absolutes Muss - Das Referenzwerk schlechthin - leider veraltet
Dieses Buch ist die quasi inoffizielle Dokumentation zum Entity Framework 4.
Alles steht darin ausführlich beschrieben. Die einzelnen Kapitel - ja sogar die einzelnen Abschnitte in den Kapiteln bauen didaktisch aufeinander auf, verlangen aber nicht die Lektüre der jeweils vorhergehenden Kapitel.
Julia Lerman hat eine wundervolle Sprache und Didaktik, die das Erlernen des Stoffs zu einer wahren Freude macht.
Ich habe das Buch vollständig durchgearbeitet. Habe vier Wochen meines Urlaubs daran gesessen und fühle mich nun durchweg gut informiert und einsatzbereit, was das Konzept, die Fähigkeiten, das Programmieren (= Anwenden) und die Grenzen des Entity Framework angeht.
Leider stammt das Buch aus dem Jahre 2010 und behandelt lediglich das Entity Framework 4, also Database First bzw. Model First. Selbst das später hinzugekommene Büchlein Programming Entity Framework: Code First by Lerman, Julia, Miller, Rowan (12/1/2011) stammt aus dem Jahre 2011 und behandelt lediglich die erste Version von Code First.
Da dies aber derzeit (im Jahre 2015) alles ist, was die Welt (und insbesondere Microsoft, denn das Entity Framework kommt vollständig ohne Dokumentation daher) zum Entity Framework zu bieten hat, kann die Lektüre dieses Buches durchaus als das Beste bezeichnet werden, was sich der interessierte Leser in Bezug auf das Entity Framework angedeien lassen kann.
- 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.
-
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.