Programming Entity Framework, 2nd Edition
Building Data Centric Apps with the ADO.NET Entity Framework 4
Publisher: O'Reilly Media
Final Release Date: August 2010
Pages: 920

Get a thorough introduction to ADO.NET Entity Framework 4 -- Microsoft's core framework for modeling and interacting with data in .NET applications. The second edition of this acclaimed guide provides a hands-on tour of the framework latest version in Visual Studio 2010 and .NET Framework 4. Not only will you learn how to use EF4 in a variety of applications, you'll also gain a deep understanding of its architecture and APIs.

Written by Julia Lerman, the leading independent authority on the framework, Programming Entity Framework covers it all -- from the Entity Data Model and Object Services to WCF Services, MVC Apps, and unit testing. This book highlights important changes for experienced developers familiar with the earlier version.

  • Understand the core concepts you need to make the best use of the EF4 in your applications
  • Learn to query your data, using either LINQ to Entities or Entity SQL
  • Create Windows Forms, WPF, ASP.NET Web Forms, and ASP.NET MVC applications
  • Build and consume WCF Services, WCF Data Services, and WCF RIA Services
  • Use Object Services to work directly with your entity objects
  • Create persistent ignorant entities, repositories, and write unit tests
  • Delve into model customization, relationship management, change tracking, data concurrency, and more
  • Get scores of reusable examples -- written in C# (with notes on Visual Basic syntax) -- that you can implement right away
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaProgramming Entity Framework, 2nd Edition
 
4.5

(based on 8 reviews)

Ratings Distribution

  • 5 Stars

     

    (5)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Well-written (8)
  • Accurate (7)
  • Easy to understand (7)
  • Helpful examples (7)
  • Concise (4)

Cons

    Best Uses

    • Intermediate (8)
    • Expert (6)
    • Novice (5)
    • Student (4)
      • Reviewer Profile:
      • Developer (7), Designer (3)

    Reviewed by 8 customers

    Sort by

    Displaying reviews 1-8

    Back to top

     
    4.0

    Why you should read this 800-page book?

    By LongK

    from San Diego CA

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Easy to understand
    • Helpful examples
    • Well-written
    • Writing Style

    Cons

    • No Chapter Exercises
    • Too Much Repetition

    Best Uses

    • Expert
    • Intermediate

    Comments about O'Reilly Media Programming Entity Framework, 2nd Edition:

    A big book for a big topic. We studied this book for the past 6 months in a technical book club. This book is a good companion for learning the framework. It has good examples to illustrate the concepts. Sometimes it tries to tell stories about things outside the scope of the book. I love this book but wish the book was more concise and less verbose so it would take less time to study it.

    (1 of 1 customers found this review helpful)

     
    4.0

    Great book for advanced developers

    By Jeff Lehner

    from San Diego, CA

    About Me Designer, Developer, Educator

    Verified Reviewer

    Pros

    • Helpful examples
    • Useful For Advanced Devs
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about O'Reilly Media Programming Entity Framework, 2nd Edition:

      I have high expectations for a technical book and prefer to read just one that I can then use as my "bible" from that point on. This book has a great chance to become my new EFx Bible (only time will tell). I am also critical of books that do not talk to my "advanced" level. Fortunately, Julia talks to me and not down to me. There are plenty of code examples, too. I have not yet read the whole book but I have no need to find another. Except maybe v4 of this book! ;o)

      Thank you Julia!

       
      5.0

      Programmer-friendly

      By SD

      from San Diego, CA

      About Me Developer

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate
        • Novice
        • Student

        Comments about O'Reilly Media Programming Entity Framework, 2nd Edition:

        I first tried to program Entity Framework by learning from the online tutorials, and found myself even more confused. With this book, I finally got a clear idea of what "EF" is.

        I like how the author explained the theory with background information in an easy to understand language.

        I like the sample codes and data files that can be downloaded from the book's website. It provides a hand-on programming experience with walkthrough examples.

        I like those links to other resources in the book. You learned more than just EF if you following those links to EF related topics.

         
        5.0

        Good comprehensive book

        By ovz

        from San Diego

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate
          • Novice
          • Student

          Comments about O'Reilly Media Programming Entity Framework, 2nd Edition:

          I came to the book with prior practical knowledge of EF from previous projects. Some chapters really helped to consolidate knowledge. It was cool to gain understanding, especially about the areas I was not aware of. This book gives really comprehensive coverage of Enitity Framework as of EF 4.0, from beginner to expert topic. I also rather liked the fact that one can stop at the comfortable spot in the middle. This is essential for a book this long. Everyone including Julie seems to like shorter focused books nowadays.

           
          3.0

          A good book covering a complex subject

          By James

          from San Diego, CA

          About Me Developer

          Verified Reviewer

          Pros

          • Accurate
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate

            Comments about O'Reilly Media Programming Entity Framework, 2nd Edition:

            Book Review
            eBook: Programming Entity Framework
            Author: Julia Lerman
            Publisher: O'Reilly
            Publish Date: August, 2011
            ISBN: 978-0-596-80726-9
            O'Reilly Page: 9780596807252.do
            User Group: San Diego .NET Technology Immersion Group (TIG)
            Reviewer: James W. Rust, Web & Database Developer, Wine Communications Group

            Overview
            Programming Entity Framework is a good book covering a complex subject. The text is direct and easy to understand. Complicated material is conveyed well. The organization is clear and logical.

            Comments
            • This book is quite long: 820 pages without appendices.
            o Consequently, it is not a "good read" straight through.
            o However, subjects are presented in a logical sequence.
            o And its excellent organization makes it a good reference book.
            o Specific information is easy to find and can be read out of context.
            • I like the mixture of theory and examples which illuminate the theory
            o The text style is relatively informal making it easy to read
            o The Summary sections at the end of each chapter are quite useful
            o The author has the empathy of a fellow developer and thus presents the material from a practical perspective.
            • The book contains numerous graphic elements such as schema depictions, model diagrams, etc.
            o These visual elements are a great aid to understanding the theory.
            o They serve to help the reader make mental pictures of the concepts
            • I like that the text frequently explains the "why" aspects of a subject:
            o Why a feature was created
            o Why a feature was designed the way it was
            o Why would you want to use a particular feature Vs. another approach

             
            5.0

            A great way to learn Entity Framework

            By Gay Farace-Mann

            from San Diego, Ca

            About Me Designer, Developer

            Verified Reviewer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice
              • Student

              Comments about O'Reilly Media Programming Entity Framework, 2nd Edition:

              For anyone new to Entity Framework, Julia Lerman's book sets the bar high for understanding, code examples to help get anyone up to speed on this technology.

              (2 of 2 customers found this review helpful)

               
              5.0

              Able to use EF quickly on real projects

              By wrl

              from Kansas

              Verified Reviewer

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate
                • Novice

                Comments about O'Reilly Media Programming Entity Framework, 2nd Edition:

                I initially tried to learn EF on my own using online tutorials and the MSDN forum. I realized very quickly that the tutorials were too superficial and I needed a strong foundation in EF before using it on production projects. This book provided all the foundation I needed to be able to quickly work with EF so that I could program against simple POCO's classes and let EF handle the communication with the backend. You can do this in such a way that you have complete separation of concerns so if you ever decide to switch from EF to another ORM product or ORM methodology -- your code remains unaffected. If you desire, you can control the interaction with the backend.

                This book focuses on creating an EDMX model and working with that model and the XML behind the model. I, on the other hand, was interested only in Code First with and without existing databases (existing databases are 99% of my world). But the insight in how EF works made learning Code First a breeze. The book does have chapters that show you how to let EF to generate and work with POCO classes. However, I prefer to create my classes (domain model) myself.

                In Code First, your POCO classes are the model. But whether you create an EDMX model or choose the Code First approach, once you compile and run the project everything that follows is exactly the same. It is important to learn the concepts in this book so you understand the implications of what you are doing and make the right choices in Code First.

                (3 of 3 customers found this review helpful)

                 
                5.0

                Best Entity Framework Book So Far

                By Jimmy

                from Riverside, CA

                About Me Designer, Developer

                Verified Reviewer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Well-written

                Cons

                  Best Uses

                  • Expert
                  • Intermediate
                  • Novice
                  • Student

                  Comments about O'Reilly Media Programming Entity Framework, 2nd Edition:

                  This 2nd Edition has been the best book on Entity Framework (EF) so far.

                  The book starts out in detail what EF is all about. Chapter 1 details what the technology is all about. It also gives overviews of technologies related to EF. I appreciated how the author updated this version and retracted what he called pain points from the 1st version of the book.

                  Chapters 2 - 8 go into detail about how to use EF. You learn what Entity Models are and how to query them. The author then teaches you how to leverage LINQ, specifically LINQ to Entities, to query the model. Next you learn about Entity SQL and how to query using it. As the book progresses you learn in Chapter 6 how to manage entity states and keep track of them. You learn about saving, inserting and deleting entities. In Chapter 7 the author show you how to use stored procedures with your Entity Model. By Chapter 8 you are implementing what the author calls "a More Real-World Model." He show you how to separate your EDM from your project so that it is more manageable.

                  In Chapter 9 you learn about data binding with Windows Forms and WPF Applications. Since I am not currently using these technologies I skipped on over to Chapter 11. In Chapter 11, the author shows you how to customize your entities using partial classes and partial methods. He also teaches you how to modify the code generation templates.

                  Chapter 13 does into creating and using POCO Entities.

                  Chapters 22 and 23 are a must read. Author shows you how to handle exceptions and how to plan for concurrency problems.

                  Finally in Chapter 27 you get to build two layered web applications using Web Forms and MVC.

                  Overall this book is a must have book that every developer should have in their library.

                  Displaying reviews 1-8

                  Back to top

                   
                  Buy 2 Get 1 Free Free Shipping Guarantee
                  Buying Options
                  Immediate Access - Go Digital what's this?
                  Ebook: $50.99
                  Formats:  APK, DAISY, ePub, Mobi, PDF
                  Print & Ebook: $65.99
                  Print: $59.99