Take advantage of the Code First data modeling approach in ADO.NET Entity Framework, and learn how to build and configure a model based on existing classes in your business domain. With this concise book, you’ll work hands-on with examples to learn how Code First can create an in-memory model and database by default, and how you can exert more control over the model through further configuration. Code First provides an alternative to the database first and model first approaches to the Entity Data Model. Learn the benefits of defining your model with code, whether you’re working with an existing database or building one from scratch. If you work with Visual Studio and understand database management basics, this book is for you.
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.
I really enjoyed this book. Some information is a little out-of-date, especially in the section regarding what comes next. Also, the metadata table that they mention also doesn't exist any more, either.
Overall, honestly I'd say this book is definitely worth reading to anyone who's into C#/Entity Framework. I found that this book really supplements the Pro ASP.NET MVC 4 book that I am also going through. There's quite a bit with the entity framework, and the Pro ASP.NET book simply didn't cover everything needed.
When I received this book (and the counterpart DbContext), I was a little disappointed at how short it is. But it's actually just very focused and concise, a rarity in most programming books. Well written, clear, and to the point with no fluff.
If you're new to EntityFramework, you still probably need to read the seminal Programming EntityFramework, but this is a very good companion covering an aspect of EF I'd like to use.
Good material if you’re looking to get a handle on Entity Framework’s Code First facility. It’s not very dense and seems to be intended as a light and general purpose overview to get you going from nearly from scratch. There are examples provided for each topic covered. The only requirement is that you’ve learned some C# syntax and have created a basic .Net MVC app or two. I found it slow to read at points because the explanations are longer than necessary. But the reward is a decent explanation of the how and what of the Code First toolbox. Even though it is a book eight years old (which in tech can be a lifetime), it still has use today for MVC developers. You’ll want to check up on Code First features afterwards.
I only started the first chapter or so of this book, stopping when my experiment with programming was put on hold. I have used the technology, which is an excellent method of building database structures in C#.
They make you do this the hard way since model first never worked for me only code first where you had to type everything like you people are asinine Microsoft
Great book if you are starting with Code First. I was expecting more examples with a bit more complex scenarios, but even ones provided are good enough. The book does not talk much about how run different queries. It really focuses on different aspects of Entity Framework Code First.
Also, the edition I was reading was about EF 4.1, which was outdated version at that time, so things have changed in EF since.
Only 176 pages, but well focused. Covers the key concepts and implementation of the default conventions and details how they can be overridden or disabled as required. This and the companion "Programming Entity Framework DBContext" together form a great reference to the Code First approach introduced to Entity Framework.
Quick, well-organized guide to Code First. It came recommended to me by another developer and served as a good introduction. I'm sure it will continue to be great as a reference once I dive into EF with my project.
Good intro to Code First, enough to get you up and running if you're already familiar with EF. Book came out before Migrations, however -- hopefully Lerman will update soon.