Programming Books C Java PHP Python Learn more Browse Programming Books
Programming Entity Framework: DbContext and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $7.33 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Programming Entity Framework: DbContext on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming Entity Framework: DbContext [Paperback]

by Julia Lerman, Rowan Miller
4.4 out of 5 stars  See all reviews (25 customer reviews)

List Price: $24.99
Price: $20.33 & FREE Shipping on orders over $35. Details
You Save: $4.66 (19%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Monday, April 28? Choose Two-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $9.99  
Paperback $20.33  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

March 7, 2012 1449312969 978-1449312961 1
In addition to Code First, EF 4.1 introduces simpler EF coding patterns with the DbContext, DbSet, ChangeTracker and Validation APIs. This second mini-book will take the reader on a tour of these new features and how to take advantage of them. These new classes and APIs let the user focus on the most common coding tasks with Entity Framework and streamlines access to patterns which are frequently used, but were previously non-intuitive and complicated to code. The Validation API that comes with DbContext leverages the existing .NET 4 IValidatableObject and ValidationAttributes as well as providing additional validation features. You will learn the ins and outs of getting the most from server side validation from the DbContext.

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

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.


Product Details

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

More About the Authors

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

Customer Reviews

Most Helpful Customer Reviews
4 of 4 people found the following review helpful
5.0 out of 5 stars The Book on DbContext 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?
3 of 3 people found the following review helpful
5.0 out of 5 stars Best Book on DBContext May 7, 2012
By George
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?
2 of 2 people found the following review helpful
5.0 out of 5 stars Get this one November 13, 2012
By Amr
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 .
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Great Guided Tour of the API 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?
1 of 1 people found the following review helpful
Format:Paperback
This is one of those books I was very eager to read and review, and I wasn't disappointed. In fact as soon as I got it from the publisher, I started working through it, eagerly devouring every word. Julie Lerman and Rowan Miller demonstrate DbContext, an API for the Entity Framework that lets you query plain old common objects (POCO) or collections of entities and any related data.

This book and another companion title, Programming Entity Framework: Code First, are continuations to the Programming Entity Framework: Building Data Centric Apps with the ADO.NET Entity Framework (all three available from O'Reilly). You could more accurately call them extensions of material originally covered in that book, but not repetitions—thank you O'Reilly!

The book begins by covering the basics of the DbContext API and where it fits into the world of EF but does so without bloat. The authors then jump into the sample BreakAway project and by Chapter 2 you'll be writing full-fledged methods to query data! The book covers sorting, filtering, and joining related entities as well as navigating entity rows.

Next comes a thorough coverage to using the DbContext API for data manipulation (insert/update/delete) on both single and multiple entities. It also introduces change tracking, a very important aspect of working with EF. It's obvious the authors understand this because they devote a later chapter to it in detail. The book then turned to working with disconnected, n-tier architectures (shocking me since I've been working with EF for awhile and didn't even know it had these capabilities).
Read more ›
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Great book May 24, 2013
By Hugo
Format:Kindle Edition|Verified Purchase
Like her other two books right to the point and filled with useful information that gets you more than just started
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Really nice work! March 31, 2013
Format:Kindle Edition|Verified Purchase
This is a really nice book, clear and full of details about Entity Framework and DbContext. It helps you to understand many concepts of EF's design and how to apply it in your code.

For who are using DbContext, due the fact it is easy to start to use, but still not have a great understanding about how it works under the hood, I think this book can be a good start.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars Become a Code First expert January 9, 2013
Format:Kindle Edition|Verified Purchase
I thought this was definitely the best in Julia's Entity Framework series. Information was more accessible and I found working through the book as well as finding specific information within the book easier than with her Code First book. I just wish the Kindle versions had a working Index.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Go Deep
If you want a really good understanding of the Entity Framework and usage of the DbContext, you won't get a better manual than this. Read more
Published 3 days ago by John Bonham
4.0 out of 5 stars Explanations at Last
I have read a good deal of Entity Framework books, and have always wished the DbContext were not better explained, but that it was even briefly explained at all. Read more
Published 1 month ago by Brady Kelly
5.0 out of 5 stars Great Book!
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... Read more
Published 2 months ago by ComputerJunkie
1.0 out of 5 stars This book has no index.
I am giving this book only one star because it has no index. Amazing.
In this age of computers there is no excuse not to have an index in a technical book like this.
Published 2 months ago by Adam Smith
3.0 out of 5 stars Needs an Index.
No index in the edition that I got. Makes it very hard to use for reference.

But you don't have a lot of choices on publisher's for this topic.
Published 5 months ago by Jorge Monasterio
3.0 out of 5 stars Very good supliment to programming_entity_framework_2nd_edition
This book is well written and has excellent detail. The main issue is that much of the detail of the book relies on owning or having read the previous book... Read more
Published 5 months ago by ERIK AMBLE
3.0 out of 5 stars Good book if you are new to Entity Framework and want to use the Code...
This book gave me an understanding of the DbContext and how to better utilize it in projects. This is a tutorial more than a reference. There is no index.
Published 6 months ago by Kad
5.0 out of 5 stars Good reference
I've bought many, many developer books over the years. There are few I would call "reference books" that have a permanent home in my bookshelf. This book is one of them. Read more
Published 9 months ago by Ed
4.0 out of 5 stars Combine them
The book is well presented, and helped fill in knowledge gaps left after rushing to get out my first EF app. Read more
Published 11 months ago by Chester
5.0 out of 5 stars Excellent book
Julia explains easily how to work with the new version of Entity Framework, which uses the DbContext to do some of the operations that we are used to do with the EntitySet. Read more
Published 11 months ago by Rodrigo Medeiros Martins
Search Customer Reviews
Only search this product's reviews
ARRAY(0xa5a41fe4)

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Look for Similar Items by Category