Programming Entity Framework: DbContext and over one million other books are available for Amazon Kindle. Learn more
CDN$ 22.10
  • List Price: CDN$ 26.99
  • You Save: CDN$ 4.89 (18%)
FREE Shipping on orders over CDN$ 25.
Only 3 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
Programming Entity Framew... has been added to your Cart
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Programming Entity Framework: DbContext Paperback – Mar 10 2012

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 22.10
CDN$ 14.48 CDN$ 15.90

Unlimited FREE Two-Day Shipping for Six Months When You Join Amazon Student

Frequently Bought Together

Programming Entity Framework: DbContext + Programming Entity Framework: Code First + Programming Entity Framework: Building Data Centric Apps with the ADO.NET Entity Framework
Price For All Three: CDN$ 86.29

Customers Who Bought This Item Also Bought

Product Details

Product Description

Book Description

Querying, Changing, and Validating Your Data with Entity Framework

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 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 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 and follow her on Twitter at julielerman.

Rowan is based in Seattle, Washington and works as a Program Manager for the ADO.Net Entity Framework team at Microsoft. Prior to moving to the US he resided in the small state of Tasmania in Australia. Rowan speaks at technical conferences and blogs at Outside of technology Rowan's passions include snowboarding, mountain biking, horse riding, rock climbing and pretty much anything else that involves being active. The primary focus of his life, however, is to follow Jesus.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) 31 reviews
4 of 4 people found the following review helpful
The Book on DbContext June 10 2012
By G. van Staden - Published on
Format: Kindle Edition
DbContext is covered in extreme detail in this book. The pace is gradual but you will really know how to use DbContext after reading this.

Given that DbContext is part of Entity Framework, I understand the need to make reference to other EF books. I think the book exploits this a bit and the numerous references to the authors' other books is annoying. The example code is also based on the authors' other books but, even if you have not read them, is understandable and useful.

The coverage ranges from an introduction to what DbContext is and how it fits-in to Entity Framework, through how it works and on to the future vision for DbContext and Entity Framework. This book contains more than recipes for successful use. Great detail is given as to how DbContext and EF work with code to create database queries, track changes and manipulate data.

In combination with the supporting website, which is excellent, this book is a valuable resources for anyone really wanting to gain complete understanding of DbContext.
3 of 3 people found the following review helpful
Best Book on DBContext May 7 2012
By George - Published on
Format: Paperback
Julia Lerman is one of my go to people when it comes to Entity Framework. Between her several books, blogs and videos, she is one of the main sources for Entity Framework information.
Julia and Rowan writing style is easy to understand. The book is full of code examples without over doing it. The book is only a couple hundred pages, but covers the topic very well.
DbContext is only a part of Entity Framework, but an important part. Understanding it will make using Entity Framework much easier and make the developer much more productive.
Just understanding the differences between Lazy Loading, Eager Loading, Explicit Loading and understanding when your queries are querying against the database or local memory is worth getting the book.
The authors have other books on programming Entity Framework, but this is the most in-depth book covering DbContext. Not the first place to learn about Entity Framework, but when it comes to DbContext, at the moment, there is nothing better.
2 of 2 people found the following review helpful
Real men don't use DbContext, kindof Oct. 11 2014
By A_2007_reader - Published on
Format: Paperback
Real people don't use DbContext. There are three ways to create a EDMX model: Code first, Model first and Database first. This book deals with Code First only, which is where the DbContext API comes in. You don't need to do this; simply use Database first. Create a normalized database (Google this), then from the Visual Studio wizard click on the 'EF from Database' option (depending on what version of Visual Studio you have, it's worded a little differently). Then proceed. You will not have the 'flexibility' of Code First, but here's the irony: when dealing with a normalized relational database, which is what most people use, you really don't have that much flexibility anyway. Your in-memory objects must mirror the tables (columns) and rows of your database anyway, for the most part, in a POCO fashion. If you want more flexibility you can always create a helper class, with a little extra work. [Update: it seems however the DbContext stuff is added by the Wizard behind the scenes, though, with a bit of Googling, about six hours worth, I figured it out. So you don't need this book, 'nuff said.]

In short, don't go down the DbContext path, which adds abstraction and hides stuff behind the scenes. ADO.NET/EF is already opaque enough as it is. Bite the bullet and do things the older way, not old-fashioned like raw SQL commands, but more like Linq-to-Entity / Linq-to-SQL For an excellent site Google Entity Framework Tutorial dot Net (one word), which actually covers the DbContext way as well. BTW I like this author, just don't like this book.
2 of 2 people found the following review helpful
Get this one Nov. 13 2012
By Amr - Published on
Format: Paperback
I found solutions in this book for some problems that i did not find somewhere else .I haven't read all the book but this is enough to say there is good effort behind it . I will sure read all of it , just need more time .
2 of 2 people found the following review helpful
Great Guided Tour of the API April 6 2012
By Liles Family - Published on
Format: Paperback
I just finished this on my kindle and I have to say, well done. It is a great guided tour of the API and will help just about everyone in some way. I especially like the validation dive, as well as the detailed explanations of the change tracker API. When you get into distributed transactions and dealing with N-tier applications, this is required knowledge. Having this as a reference is invaluable and should be a reserved spot in the library for anyone writing Code First Entity Framework.