Programming Books C Java PHP Python Learn more Browse Programming Books

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 $3.45 Gift Card
Trade in
Kindle Edition
Read instantly on your iPad, PC, Mac, Android tablet or Kindle Fire
Buy Price: $9.99
Rent From: $4.84
 
 
 
More Buying Choices
Have one to sell? Sell yours here

Programming Entity Framework: Code First [Paperback]

Julia Lerman , Rowan Miller
4.7 out of 5 stars  See all reviews (33 customer reviews)

List Price: $24.99
Price: $21.27 & FREE Shipping on orders over $35. Details
You Save: $3.72 (15%)
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 tomorrow, July 15? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition
Rent from
$9.99
$4.84
 
Paperback $21.27  
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

December 1, 2011 1449312942 978-1449312947 1

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.

  • Learn exactly what Code First does—and does not—enable you to do
  • Understand how property attributes, relationships, and database mappings are inferred from your classes by Code First
  • Use Data Annotations and the Fluent API to configure the Code First data model
  • Perform advanced techniques, such as controlling the database schema and overriding the default model caching

This book is a continuation of author Julia Lerman’s Programming Entity Framework, widely recognized as the leading book on the topic.


Frequently Bought Together

Programming Entity Framework: Code First + Programming Entity Framework: DbContext + Programming Entity Framework: Building Data Centric Apps with the ADO.NET Entity Framework
Price for all three: $83.91

Buy the selected items together


Editorial Reviews

Review

"It's a great cover-to-cover read, and I can easily see topics I'll bookmark and come back to when I hit certain scenarios. If you're planning on using EF Code First, make getting this book a priority." - John Papa, Visual Studio Magazine

Book Description

Creating and Configuring Data Models from Your Classes

Product Details

  • Paperback: 194 pages
  • Publisher: O'Reilly Media; 1 edition (December 1, 2011)
  • Language: English
  • ISBN-10: 1449312942
  • ISBN-13: 978-1449312947
  • Product Dimensions: 0.4 x 6.9 x 9 inches
  • Shipping Weight: 11.2 ounces (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (33 customer reviews)
  • Amazon Best Sellers Rank: #265,873 in Books (See Top 100 in Books)

More About the Authors

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

Customer Reviews

4.7 out of 5 stars
(33)
4.7 out of 5 stars
Most Helpful Customer Reviews
15 of 16 people found the following review helpful
5.0 out of 5 stars Quick and easy read, full of education January 5, 2012
Format:Paperback
While I had heard of Julie Lerman and her book Programming Entity Framework, after the release of code first I was on the fence on just how much I would get out of the existing book. With the release of Programming Entity Framework: Code First I knew I'd learn something, so I picked up an electronic copy (PDF) and started digging in.

First, I should mention that I initially started working with Entity Framework via existing databases. I tried the pre-4 version, but ultimately tried to stay away until EF4 was released. I liked the Visual Studio interface to work with a database via EF, and created one site, still in production, that uses it, but I like being closer to the metal.

With the release of EF Code First I started digging in immediately, using it to create functionality on one site already in production, and most recently started working on another site, for eventual release into production. However, on this latter site I was working with more advanced models and kept running into weird EF issues.

After a few chapters in Programming Entity Framework: Code First I had determined what my issue was, and how to fix it, which alone is worth the price. In addition, while I understood data annotations, I now have a pretty firm grasp on what I can do via the Fluent API, and how I can better control what EF does when it creates the database to store my model.

The size of the book may initially throw you off, but I honestly believe that this book contains as much material as a book almost twice the size. In addition, while I came into the book having already worked with Entity Framework, and code first, I believe this book can easily be picked up by someone new to both technologies.
Read more ›
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
By Björn
Format:Paperback
I was initially quite skeptical about the content quality of this book, due to poor experience with programming EF 2ed;
However, this one is surprisingly well organized & well written, with extremely lucid explannations of key concepts using good examples. Well done!
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars 5 star read - but no index March 28, 2012
Format:Paperback
Just a quick note to point out this book has no index. It is however comparatively short and very well structured and hence its within reason to read it end-to-end. Until you have made it to the end however, the lack of an index makes it hard to just get on and code.
5 Stars none-the-less - its by Julia Lerman so would expect no less.
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Very well written June 11, 2013
By TJ
Format:Paperback|Verified Purchase
I had previously tried to learn code first by using online examples and code that I had managed to collect. I did ok, but I had several questions. This book reminded me of why I should not learn from the web. It gives you the correct way to design your database using both Fluent API and and Annotations. From the start I was able to create each example as the book detailed. The only place that I had any trouble was with one to one relationships, and the book even stated that there would be some hangups with this. All these relationships took were a little bit of practice and I was well on my way to creating my own database using Code First. I have struggled with Code First for a while and it only took me a few weeks to get through this book and I feel like I am at the top of my game now. I would recommend this to anyone using C# development.
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
Again, if you want to know about EF this is a must read. Simple, but useful practice examples, all about a very exciting technology from M S
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Just the right book for CF February 5, 2013
Format:Kindle Edition|Verified Purchase
Very didactic and well explained. A good point is that the author does not forget about VB, giving good examples in both languages.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars Great side view of the Code First approach October 17, 2012
Format:Kindle Edition|Verified Purchase
Great overview for Code First, but to get whole picture of Entity framework you need to get to the main book "Programming Entity Framework: Building Data Centric Apps with the ADO.NET Entity Framework". Actually would be 5 stars if included unit-testing approaches.
Comment | 
Was this review helpful to you?
3 of 4 people found the following review helpful
5.0 out of 5 stars Outstanding, plenty of sample code November 30, 2011
Format:Paperback
This book and the 2nd Edition of Programming Entity Framework by this author gave me all the foundation I needed to begin using EF in a very smart and efficient manner in real production projects. Code First taught me how to keep my POCO classes completely free of data annotations and use the powerful fluent API to configure all the mappings and attributes needed to match my classes to the database table by using configuration classes in code. This is the central reason I chose to use Code First.

The foundation provided in the previous book made learning Code First easy. I learned what choice to make from the possibilities and what the benefit and compromise of that choice were.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Five Stars
good context, easy to follow.
Published 11 days ago by G. Wexler
4.0 out of 5 stars Entity Framework
Excellent book easy to understand. I will recommend this book to everybody who wants to understand how entity framework works
Published 4 months ago by Anil Dhingra
4.0 out of 5 stars Finally, EF you can understand. But...
This is the 3rd EF book I purchased - the first two were worthless. Julia Lerman does a great job of explaining things in an understandable way. Read more
Published 4 months ago by Douglas A. Drake
5.0 out of 5 stars Must Read!
Author has explained the concepts very clearly. One of best thing is, every concept is backed by appropriate example. Must read!
Published 7 months ago by Pavan Kumar
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 7 months ago by Amazon Customer
5.0 out of 5 stars Programming EF: Code First by Lerman/Miller (O'Reilly)
It won't come as any great surprise to those familiar with the authors that this book was as great as its companion title, Programming Entity Framework: DbContext, and the... Read more
Published 9 months ago by bibliomanic
3.0 out of 5 stars Had hoped for more examples
The book is very good if you know ADO.NET and wan't to learn about code first. But it does not stand alone...
Published 12 months ago by Rene Nejsum
5.0 out of 5 stars Love it
Julia is very thorough. She is an excellent teacher.
If there is anything I don't know how to do I can find the information very quickly in her book.

Amazing book!
Published 14 months ago by Sergio Ruz
5.0 out of 5 stars Very good book
For me, until now, this is the best reference about the code first subject. I recommend and I hope that arise most updated releases!
Published 15 months ago by Uilton Lobo
5.0 out of 5 stars Very detailed explanation
Nice book about most nuances of using Entity Framework Code First. Described version 4.1, but applyable for 4.3 too. Clear explanation, from simple to advanced topics. Read more
Published 15 months ago by Amazon Customer
Search Customer Reviews
Search these reviews only

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