Programming Books C Java PHP Python Learn more Browse Programming Books

Select your rental length

Starts: Today
Ends:

Rent From: $4.84

Deliver to your Kindle or other device

Enter a promotion code
or gift card
 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Programming Entity Framework: Code First [Kindle Edition]

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

Digital List Price: $14.99 What's this?
Print List Price: $24.99
Rent From: $4.84 or Buy Price: $9.99
Save up to: $20.15 (81%) You Save: $15.00 (60%)

  • Print ISBN-10: 1449312942
  • Print ISBN-13: 978-1449312947
  • Edition: 1
Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your email address or mobile phone number.

Formats

Amazon Price New from Used from
Kindle Edition
Rent from
$9.99
$4.84
 
Paperback $19.62  
Kindle Daily Deals
Kindle Delivers: Daily Deals
Subscribe to find out about each day's Kindle Daily Deals for adults and young readers. Learn more (U.S. customers only)

Book Description

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.



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

About the Author

Julia Lerman is the leading independent authority on the Entity Framework and has been using and teaching the technology since its inception in 2006. She is well known in the .NET community as a Microsoft MVP, ASPInsider, and INETA Speaker. Julia is a frequent presenter at technical conferences around the world and writes articles for many well-known technical publications including the Data Points column in MSDN Magazine. Julia lives in Vermont with her husband, Rich, and gigantic dog, Sampson, where she runs the Vermont.NET User Group. You can read her blog at www.thedatafarm.com/blog and follow her on Twitter at julielerman. Rowan Miller is based in Seattle, Washington and works as a Program Manager for the ADO.Net Entity Framework team at Microsoft. Prior to moving to the US he resided in the small state of Tasmania in Australia. Rowan speaks at technical conferences and blogs at http://romiller.com. Outside of technology Rowan's passions include snowboarding, mountain biking, horse riding, rock climbing and pretty much anything else that involves being active. The primary focus of his life, however, is to follow Jesus.

Product Details

  • File Size: 1510 KB
  • Print Length: 192 pages
  • Page Numbers Source ISBN: 1449312942
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (November 18, 2011)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B006C3CXTA
  • Text-to-Speech: Enabled
  • X-Ray:
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #160,265 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?.


Customer Reviews

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
4.0 out of 5 stars Good.
This is a good concise book on Entity Framework Code Fist. It is clear, but the examples are scanty and short ( too short maybe). Read more
Published 2 days ago by Armando De La Torre
5.0 out of 5 stars A good foundation book for anyone wanting to get started with ...
Very helpful in setting up database schema, mapping relationships, working with foreign keys, and knowing when a change to the schema will cause the seed method to run. Read more
Published 27 days ago by Rebecca Jacobsen
5.0 out of 5 stars What are waiting for ?
Wondering why the db backend looks the way it does when using EF Code First? What to split a class across tables ? Represent a class hierarchy in the DB ? Read more
Published 2 months ago by Glenn Witerski
5.0 out of 5 stars Five Stars
good context, easy to follow.
Published 3 months ago by Mr G
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 7 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 8 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 10 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 11 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 12 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 15 months ago by Rene Nejsum
Search Customer Reviews
Search these reviews only

More About the Authors

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

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