on 20 May 2012
This book is a great starting point for anyone wanting to get started using the recently released Entity Framework DbContext API which aims to provide a simplified interface over the ObjectContext. The book is part of the O'Reilly Programming Entity Framework series and keeps up the high standard set by the first book in the series, Programming Entity Framework, now in its 2nd edition which is by far and away the best book I have found on the Entity Framework and while it is excellent it is also quite in depth. In keeping with the aim of DbContext providing a simplified API, this book provides an overview of all the features of the new API without being too verbose. I particularly liked the chapters on Change Tracking and Validation which explained what are reasonably complex features in an easy to understand style. All the chapters are generally delivered by a brief introduction followed by a code sample and short explanation. This is typically followed by another code sample building on the previous concept and so on. At the end of each chapter a summary highlights the key points to remember. I'd definitely recommend this book to anyone wanting to get started coding against Entity Framework quickly without necessarily wanting to know everything that goes on under the covers. I didn't give 5/5 only because this book overlaps ever so slightly with the title "Programming Entity Framework, Code First" and I personally I think the two books (each priced at £16) could have been combined into a single (and cheaper) title.