Jump to ratings and reviews
Rate this book

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

Rate this book
The DbContext API captures Entity Framework's (EF) most commonly used features and tasks, simplifying development with EF. This concise book shows you how to use the API to perform set operations with the DbSet class, handle change tracking and resolve concurrency conflicts with the Change Tracker API, and validate changes to your data with the Validation API.With DbContext, you'll be able to query and update data, whether you're working with individual objects or graphs of objects and their related data. You'll find numerous C# code samples to help you get started. All you need is experience with Visual Studio and database management basics. Use EF's query capabilities to retrieve data, and use LINQ to sort and filter data Learn how to add new data, and change and delete existing data Use the Change Tracker API to access information EF keeps about the state of entity instances Control change tracking information of entities in disconnected scenarios, including NTier applications Validate data changes before they're sent to the database, and set up validation rules Bypass EF's query pipeline and interact directly with the database

258 pages, ebook

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.
233 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.