Jump to ratings and reviews
Rate this book

Programming Entity Framework: DbContext: Querying, Changing, and Validating Your Data with Entity Framework

Rate this book
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.

254 pages, Paperback

First published December 30, 2011

30 people are currently reading
49 people want to read

About the author

Julia Lerman

29 books18 followers
Julie Lerman is a Microsoft MVP, .NET mentor and consultant who lives in the hills of Vermont. You can find Julie presenting on data access and other Microsoft .NET topics at user groups and conferences around the world. Julie blogs at thedatafarm.com/blog, is the author of the highly acclaimed "Programming Entity Framework (with a second edition released in August 2010) and authors the MSDN Magazine Data Points column. Follow Julie on twitter at julielerman.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
28 (25%)
4 stars
48 (44%)
3 stars
26 (24%)
2 stars
5 (4%)
1 star
1 (<1%)
Displaying 1 - 5 of 5 reviews
Profile Image for Rene Stein.
231 reviews36 followers
June 18, 2012
Stejně jak první edice knihy o Entity Frameworku v1 je i tento dodatek k druhému vydání výše zmíněné knihy plný popisů a jednoduchých příkladů použití API v EF Code First, ale bohužel autorka možná dnes zná dobře API EF, ale stále na mnoha místech prosvítá, že autorka nezná dokonale C# ani některé idiomy kolem vícevláknových aplikací apod. a také není schopna poskytnout ucelený návod, jak vytvořit a hlavně rozvíjet složitější aplikaci používající EF. Pro první seznámení dobré, ale pokud EF (Code First) znáte, vytušíte na mnoha místech, že autorka žádnou zkušenost s reálným projektem na EF nemá, protože by nebyla tak nadšená, jak vše v EF skvěle funguje a musela by napsat, které oblasti jsou v EF řešeny mizerně a třeba u konfigurace (EntityConfiguration a ComplexTypeconfiguration) alespoň zmínit, že je potřeba si práci usnadnit napsáním bázových tříd se společnou konfigurací a také, že to vychvalované fluentní API bez možnosti napsat vlastní konvence pro mapování někdy vede k ekvivalentu koktání a ráčkování v kódu aplikace.
Profile Image for Eugenio.
71 reviews3 followers
March 3, 2014
Хорошая книга для начала работы... Как видно из названия, рассказывается только про одну из граней Entity Frmework.
10 reviews
September 16, 2014
Greate introduction to code first programming with Entity Framaework. It's logoically layed out and the writing clearly shows the depth of knowledge of the author.
Author 8 books64 followers
January 17, 2016
An okay introduction. Focuses far too much on code-first rather than providing equal measures code and database first.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.