Programming Entity Framework: DbContext and over one million other books are available for Amazon Kindle. Learn more
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
Sell yours for a Gift Card
We'll buy it for $6.38
Learn More
Trade in now
Have one to sell? Sell on Amazon

Programming Entity Framework: DbContext Paperback – March 7, 2012

ISBN-13: 978-1449312961 ISBN-10: 1449312969 Edition: 1st
Buy used
$15.51
Buy new
$24.99
Used & new from other sellers Delivery options vary per offer
55 used & new from $14.33
Amazon Price New from Used from
Kindle
"Please retry"
Paperback, March 7, 2012
"Please retry"
$24.99
$14.33 $15.51
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Spring Books
The Big Books of Spring
See our editors' picks for the books you'll want to read this season, from blockbusters and biographies to new fiction and children's books.
$24.99 FREE Shipping on orders over $35. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.

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: $90.72

Buy the selected items together

Editorial Reviews

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 www.thedatafarm.com/blog 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 http://romiller.com. 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.

NO_CONTENT_IN_FEATURE


Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Paperback: 258 pages
  • Publisher: O'Reilly Media; 1 edition (March 10, 2012)
  • Language: English
  • ISBN-10: 1449312969
  • ISBN-13: 978-1449312961
  • Product Dimensions: 7 x 0.5 x 9.2 inches
  • Shipping Weight: 14.4 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (32 customer reviews)
  • Amazon Best Sellers Rank: #317,885 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.2 out of 5 stars

Most Helpful Customer Reviews

4 of 4 people found the following review helpful By G. van Staden on June 10, 2012
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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By George on May 7, 2012
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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By Liles Family on April 6, 2012
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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By ComputerJunkie on February 4, 2014
Format: Paperback
What a page turner! Couldn’t put it down! Yeah, ok that’s the kind of things you might hear about a good novel, but seriously the author has taken the deeply technical material and made it very interesting and relevant!

The detailed handling of the capabilities of dbContext are superb and the examples used made it abundantly clear as to the best uses of the described features. I considered myself pretty knowledgeable with entity framework, but I found a great deal of new information stuffed into this relatively small book.

The information in the first chapters of the book get the basic user up to speed, while still pointing out tips to the advanced users. Going from the most basic differences between the older methods of using data with the entity framework to the new object description can be helpful to those with experience in the previous versions. I like the trick of setting up the context in a using statement to help to dispose the object.

The section on LINQ to entities as a good tutorial, but I wish there was a link to a reference on performance versus other methods of querying. Her description of the different methods of loading the object tree was very useful and can be of immediate benefit to most readers. The book illiterates the advantages and disadvantages of each technique in simple terms.

How EF handled change tacking was a mystery to me, but she clarified the methods used and techniques to enhance performance in a clear manner with great examples.

The coverage of data validations was likewise technical but written in a very understandable way. The techniques found here will save me time and effort in the future.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By James D. Perkins on January 7, 2013
Format: Paperback Verified Purchase
I purchased the first EF book based on EF4 and it was good but more confusing when trying to implement EF5 with DbContext. This book was helpful however it would help to have a reference in the back of the book to look up different topics. As far as I can tell it is the only book out there on EF5 and DbContext. I am currently working with EF5 on a project. After I completely implement the website using EF5 I will make a decision if I will ever use another ORM or not. I may go back to rolling my own SQL Stored Procedures, DAL, and BLL as I have done many times in the past which gives me more control and I fully understand the full data mapping. The only benefit to any ORM is time it should save to develop a project. Stored Procedures is the foundation anyway of any ORM plus it protects from injection. I have used other concepts from MS for data access and they were not bad but difficult to work with some times. I was trying to break up my project into layers and found it difficult with EF5 so I started over and put things into one project until I fully understand how to work with it better. I intend to breakup the project into layers later if I discover the need for scale-ability. Trying to implement repository pattern and unit of work is confusing since I have not tried those concepts in the past and also since EF is suppose to be doing that behind the scenes; it seems kind of redundant to implement some type of patterns if EF is already implementing a pattern. I like to use a DAL and a BLL. So EF should take the place of the DAL. I do like the concept of generating from the database plus update from the database. I am not sure any ORM will meet anyone's plug and play needs.Read more ›
2 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Programming Entity Framework: DbContext
This item: Programming Entity Framework: DbContext
Price: $24.99
Ships from and sold by Amazon.com