Prose Supplements - Shop now
Add Prime to get Fast, Free delivery
Amazon prime logo
Buy new:
-47% $13.32
FREE delivery Friday, March 28 on orders shipped by Amazon over $35
Ships from: Amazon
Sold by: BetAlpha
$13.32 with 47 percent savings
List Price: $24.99
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Friday, March 28 on orders shipped by Amazon over $35. Order within 18 hrs 18 mins
Only 1 left in stock - order soon.
$$13.32 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$13.32
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Amazon
Ships from
Amazon
Sold by
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$6.69
May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less See less
FREE delivery March 28 - April 2. Details
In stock
$$13.32 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$13.32
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by ThriftBooks-Atlanta.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

Something went wrong. Please try your request again later.

Programming Entity Framework: Code First: Creating and Configuring Data Models from Your Classes 1st Edition

4.3 4.3 out of 5 stars 108 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$13.32","priceAmount":13.32,"currencySymbol":"$","integerValue":"13","decimalSeparator":".","fractionalValue":"32","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"etbMwG4Yxl9Uenw%2BK%2BwUiCBwZSAw4Jdy8jz8k2GNYDuN7zmrKtVVYJblDrBGbTDBggp8vmpLq8y4IT%2F3e3FvDIsgXpsxJ7BJJa0qVxUwOgs6JT6xYkwLLRBV1sKZo%2BKyP682tQhAIjcRusPiLZhR%2BRwnqJMrLabASLMeccRwZa82%2FJiiXp%2FLHg%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$6.69","priceAmount":6.69,"currencySymbol":"$","integerValue":"6","decimalSeparator":".","fractionalValue":"69","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"etbMwG4Yxl9Uenw%2BK%2BwUiCBwZSAw4JdyoawR%2F8gIW9XaR1LwY%2Bw6X1VwxVASk8pqt8vR4aGwh7mo%2BebUO1HUbzSOHnBgrb7EijGSSgKxx2V3fQeI8w6UA%2FE4KU7v9VwguFytkc8xo4DpLW%2BGsDGrwtG0QRWxFq1ZKfcxzk1I%2Bbg%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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

This item: Programming Entity Framework: Code First: Creating and Configuring Data Models from Your Classes
$13.32
Get it as soon as Friday, Mar 28
Only 1 left in stock - order soon.
Sold by BetAlpha and ships from Amazon Fulfillment.
+
$20.00
Get it as soon as Friday, Mar 28
Only 2 left in stock (more on the way).
Ships from and sold by Amazon.com.
+
$21.00
Get it as soon as Friday, Mar 28
Only 1 left in stock - order soon.
Sold by AULE and ships from Amazon Fulfillment.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Some of these items ship sooner than the others.
Choose items to buy together.

From the brand

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

  • Publisher ‏ : ‎ O'Reilly Media; 1st edition (January 3, 2012)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 190 pages
  • ISBN-10 ‏ : ‎ 1449312942
  • ISBN-13 ‏ : ‎ 978-1449312947
  • Item Weight ‏ : ‎ 11.5 ounces
  • Dimensions ‏ : ‎ 7 x 0.41 x 9.19 inches
  • Customer Reviews:
    4.3 4.3 out of 5 stars 108 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.3 out of 5 stars
108 global ratings

Review this product

Share your thoughts with other customers

Customers say

Customers find the book provides a clear and concise explanation of the Entity Framework from simple to advanced topics. They appreciate the good context and thoughtful examples that cover most scenarios. Readers consider it a worthwhile purchase and investment in time. However, some customers feel the enumerations are inaccurate and missing from the book.

AI-generated from the text of customer reviews

26 customers mention "Clarity"26 positive0 negative

Customers find the book provides a clear explanation of the Entity Framework from simple to advanced topics. They appreciate the thoughtful examples and explanations that cover both simple and advanced topics. The book provides sufficient detail for wide-scale enterprise environments while remaining concise for casual use.

"...coding conventions, then the authors provide an excellent explanation of using Data Annotations and Fluent API to augment and enhance POCO classes...." Read more

"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

"This book is clearly written and well organized. The code samples work and cover most scenarios you will typically encounter...." Read more

"...It gives you the correct way to design your database using both Fluent API and and Annotations...." Read more

4 customers mention "Context"4 positive0 negative

Customers find the book's context and examples easy to follow. They say the code samples work and cover most scenarios you will encounter. The book provides enough information to decide how to include EF in your app and a fluent API to augment and enhance POCO classes.

"...of using Data Annotations and Fluent API to augment and enhance POCO classes...." Read more

"...Resist. The exposition is very concise and the examples are thoughtfully extended from start to finish...." Read more

"...It gives enough information to decide how to include the EF to your app (Code First or Model First)...." Read more

"good context, easy to follow." Read more

4 customers mention "Value for money"4 positive0 negative

Customers find the book worthwhile and affordable.

"...EF and Code First, “Programming Entity Framework Code First” is worth the purchase and investment of time to read and try the examples." Read more

"...It is a book really worth it to have." Read more

"...is quite short but it is not a drawback... And one more thing: the price is great!" Read more

"Very good book..." Read more

4 customers mention "Enumeration accuracy"0 positive4 negative

Customers are unhappy with the book's enumeration accuracy. They mention there is no index and some enumerations are missing from CTP 4.1.

"Same complaint as DbContext - no index. This is a significant failing for a technical book...." Read more

"...My only real issue with the book is a lack of an index...." Read more

"...Enumerations are missing (from CTP 4.1)...." Read more

"No index in the edition that I got. Makes it very hard to use for reference...." Read more

Top reviews from the United States

  • Reviewed in the United States on March 1, 2017
    Knowledge and the ability to use Entity Framework (EF) is a must have tool set for keeping current with programming development skills needed in the marketplace. Julia Lerman and Rowan Miller deliver in a short book on how to using EF Code First approach to using Object - Relational Mapping (ORM) for ADO.NET coding. The reader is given a tour of how to use Code First coding conventions, then the authors provide an excellent explanation of using Data Annotations and Fluent API to augment and enhance POCO classes. In addition, clear examples and explanations are provide to understand how to map One-to-Many, Many-to-Many, and One-to-Zero-or-One table relationships. Toward the end of the book, database initialization is discussed including how to seed your new tables with data. While the book is somewhat dated now, being written with the limitations of EF 4.2 version, we are given a glimpse at data migrations which has since been added to the current EF level. While many online references exist of the topic of EF and Code First, “Programming Entity Framework Code First” is worth the purchase and investment of time to read and try the examples.
  • Reviewed in the United States on October 18, 2014
    This is a good concise book on Entity Framework Code Fist. It is clear, but the examples are scanty and short ( too short maybe).
    The style is akin more to a reference book than to a tutorial on how to build a complete application.

    The book states that there is a complementary book , Programming Entity Framework by the same author, which dwelves much deeper into the EF. My guess is that one should get that book as a complement for all the tasks this book doesn't cover.
  • Reviewed in the United States on March 1, 2012
    This book is clearly written and well organized. The code samples work and cover most scenarios you will typically encounter. Since the book will lead you to experiment on your own right away, I recommend taking your time and reading this book deliberately and working with the examples. You will learn small details that will save you trial and error when you are ready to use the technology on your own.

    Julia and Rowan have done a wonderful job here, and you will be tempted to "run with it". Resist. The exposition is very concise and the examples are thoughtfully extended from start to finish.

    Being a little patient and letting the authors walk you through will save you time in the long run. Working through the book in order models the iterative process we go through as developers. The authors demonstrate how code first gracefully adapts as requirements change.

    Jullia and Rowan are consumate teachers in this book.

    *** Quick edit ***

    I have both the print and Kindle edition of this book. I am very happy with the Kindle version. The images and code samples are easy to read.
    One person found this helpful
    Report
  • Reviewed in the United States on June 27, 2015
    Same complaint as DbContext - no index. This is a significant failing for a technical book. I suppose it is a testimony to the quality of the contents that it gets three stars.
    2 people found this helpful
    Report
  • Reviewed in the United States on June 11, 2013
    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.
    One person found this helpful
    Report
  • Reviewed in the United States on June 20, 2012
    The way I usually learn a new technology is to grab a good book or two, orient myself in the technology, and "Google" everything else. The funny thing is I keep finding myself coming back to the pages of this book, the simple examples, and the clear and timely explanations of facts related to each specific topic. Although I would definitely recommend getting Ms. Lerman's big Programming Entity Framework book at the same time, this book was surprisingly complete on its own.

    My only real issue with the book is a lack of an index. The table of contents is complete and serviceable, but I (and I assume others) am used to searching by keywords and it would make using it as a reference book a lot easier.
    One person found this helpful
    Report
  • Reviewed in the United States on October 17, 2012
    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.
    One person found this helpful
    Report
  • Reviewed in the United States on October 15, 2015
    This is a great book.The book is small and light-weight but it packs a powerful punch to getting into the Code First coding style. The author did a great job with examples and making suggestions in regards to coding using Data Annotations and the Fluent API. I also have to commend her on the references to other articles on the net in regards to certain functionality. This is by far the best technical book I've ever brought. I have tons of books that goes deep into the subjects which becomes long and very drawn out; but this book is like WOW! In fact, I think I'm going to purchase the DBContext book which should be similiar. Great book and buy.

Top reviews from other countries

Translate all reviews to English
  • Emanuele Marussi
    5.0 out of 5 stars Una guida preziosa per padroneggiare Entity Framwork
    Reviewed in Italy on August 8, 2023
    "Programming Entity Framework: Code First" è un volume fondamentale per gli sviluppatori che desiderano padroneggiare l'approccio "Code First" nell'ambito del framework di sviluppo di dati Entity Framework. Scritto da Julia Lerman e Rowan Miller, questo libro offre una guida dettagliata e approfondita su come utilizzare questa metodologia per creare e gestire modelli di dati in modo efficiente.

    Uno dei punti forti del libro è la sua chiarezza nell'illustrare i concetti complessi dell'approccio "Code First". I due autori guidano i lettori attraverso ogni aspetto del processo di sviluppo, dall'installazione e la configurazione iniziale fino alla creazione di modelli di dati sofisticati. La spiegazione dettagliata, unita a esempi pratici e scenari reali, rende più agevole l'apprendimento e l'applicazione di questa metodologia.

    La struttura del libro è ben organizzata, con una progressione graduale da concetti fondamentali a concetti più avanzati. Gli autori affrontano argomenti come la definizione di classi di entità, la gestione delle relazioni, la creazione di query e la migrazione dei dati con un approccio approfondito, consentendo ai lettori di acquisire una comprensione solida e completa del processo.

    Gli esempi di codice sono particolarmente preziosi. I lettori possono vedere direttamente come applicare i concetti teorici nella pratica, affrontando sfide comuni e realizzando modelli di dati funzionali. Questo approccio pratico è utile sia per gli sviluppatori principianti che per quelli più esperti che desiderano adottare l'approccio "Code First".

    Un altro punto forte del libro è la sua attualità. Gli autori tengono conto delle ultime versioni del framework Entity Framework e delle best practice aggiornate, garantendo che i lettori abbiano informazioni aggiornate e pertinenti.

    Tuttavia, a causa della complessità dell'argomento, alcuni lettori potrebbero trovare alcune sezioni particolarmente dense. Questo libro è particolarmente utile per coloro che hanno già una conoscenza di base del framework Entity Framework e della programmazione C#.

    In sintesi, "Programming Entity Framework: Code First" è una risorsa preziosa per gli sviluppatori che vogliono padroneggiare l'approccio "Code First" nell'ambito del framework di sviluppo dati Entity Framework. Con spiegazioni chiare, esempi di codice pertinenti e un approccio graduale, il libro offre una guida completa per creare modelli di dati sofisticati in modo efficiente e funzionale. Se sei un programmatore interessato a ottimizzare il tuo sviluppo dati con Entity Framework, questo libro è un alleato indispensabile nella tua libreria tecnica.
    Report
  • Pratik
    5.0 out of 5 stars Very nice book and in depth understanding for Entity Framework Code ...
    Reviewed in India on June 1, 2018
    Very nice book and in depth understanding for Entity Framework Code first. All Details are explained by using both Data Annotation and Fluent API. Everything i.e. Relation between tables(one to one, one to many, many to many), table splitting etc are discussed properly. Very good book if you want to have power on Entity Framework Code First.
  • Matt Allen
    5.0 out of 5 stars Fantastic book to make you learn the bells and whistles of CodeFirst
    Reviewed in Canada on December 15, 2016
    Thanks to Julia and Rowan for having produced such a great work. This book was written before Julia dived deep into Domain Drive Design (DDD). One can understand why she has focused on DDD, after having written this book. CodeFirst is a natural path to DDD. Anyone willing to write professional enterprise applications shall first master EF CodeFirst before starting with DDD. Those two technologies go hand in hand. With the examples and easy to understand explanations, this book is a must for modern day developers.
  • L. A. Puplett
    5.0 out of 5 stars Behold: A short programming book! So glad I bought it.
    Reviewed in the United Kingdom on January 16, 2015
    I bought this a couple of years ago along with Julia's big book on EF and I never needed it since I went model first. Now I'm back on a greenfield project and I'm going code-first and this book is short but comprehensive.

    Julia's style is quite waffly, which was a criticism of her big book, but also a problem in general with programming books. This one is less so, though still room for improvement on the signal-to-noise ratio.
  • Matze
    5.0 out of 5 stars It's a Julie Lerman Book
    Reviewed in Germany on August 12, 2013
    Julie Lerman kann man durchaus als Autorität in Sachen Entity Framework betrachten. Wer Julie Lerman's Beiträge kennt, wird Ihren Stil in diesem Buch sehr schnell wieder finden. Das Thema Entity Framework im Code First Ansatz wird ausführlich (wenn auch nicht erschöpfend) anhand von realistischen Beispielen Stück für Stück durchgearbeitet und bietet eine solide Grundlage um eigene Gehversuche zu wagen. Alles in allem ein gut gelungenes Buch für EF Einsteiger und als Nachschlagewerk für Fortgeschrittene.