Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

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

Entity Framework 4.0 Recipes: A Problem-Solution Approach (Expert's Voice in .NET) 1st ed. Edition

4.4 out of 5 stars 28 customer reviews
ISBN-13: 978-1430227038
ISBN-10: 1430227036
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$9.99 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$43.99 On clicking this link, a new layer will be open
More Buying Choices
41 New from $9.99 38 Used from $0.99
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


The Amazon Book Review
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
$43.99 FREE Shipping. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • Entity Framework 4.0 Recipes: A Problem-Solution Approach (Expert's Voice in .NET)
  • +
  • Programming Entity Framework: Building Data Centric Apps with the ADO.NET Entity Framework
  • +
  • Programming Entity Framework: DbContext
Total price: $111.53
Buy the selected items together

Editorial Reviews

About the Author

Larry Tenny has more than 20 years experience developing applications using a broad range of development tools primarily targeting the Microsoft platform. He has extensive .NET development experience. He has a Ph.D. in computer science from Indiana University.
NO_CONTENT_IN_FEATURE

The latest book club pick from Oprah
"The Underground Railroad" by Colson Whitehead is a magnificent novel chronicling a young slave's adventures as she makes a desperate bid for freedom in the antebellum South. See more

Product Details

  • Paperback: 648 pages
  • Publisher: Apress; 1st ed. edition (May 5, 2010)
  • Language: English
  • ISBN-10: 1430227036
  • ISBN-13: 978-1430227038
  • Product Dimensions: 8 x 1.5 x 9.8 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (28 customer reviews)
  • Amazon Best Sellers Rank: #1,329,803 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

Format: Kindle Edition Verified Purchase
The Kindle version is so incomplete as to be completely worthless. Almost none of the images or example code that is referenced made it into the Kindle version from the print version.
2 Comments 34 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
I have learned a lot from this book and used some methods in the book for my application, so I am a grateful reader. Since this book has been praised by so many reviews, I thought it would be most useful for me to state the strengths of this book quickly then follow it with my reservations that prevented me from giving 5 stars to it.

It is very readable and well organized. It is more than a collection of recipes because the first few chapters could give a beginner a good start on EF. Some people may think it has a lot of redundancy by providing a complete list of the code for each recipe, I personally like the completeness (I have the eBook version so the thickness does not bother me at all).

Here are my reservations:

1. There are three methods to query a conceptual model in EF - LINQ to Entities, Entity SQL, Query builder methods. This could be confusing to novice readers. The book mixes all of them and it may be the best approach to mix them to achieve the most elegant code, but I wish the author could share the rationale of each mixture which can be very educational.

2. Each recipe is a method to solve a problem with a specific approach but it may not be the best overall method. I wish the book could clearly point out this. A typical example is recipe 4-3 which is a method for assigning a value to a property with code during data saving. This is a very common scenario for data entry applications (e.g. setting the user ID value which is not entered by the user for each record) and it is usually achieved by a single line of code in an event handler of a control.
Read more ›
2 Comments 18 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Kindle Edition Verified Purchase
i have bought the paperback and the kindle(to get a head start).
the Kindle version is absolutely worthless and Amazon should return my money. there is so much necessary data on how to get from model creation to how to address the model in code that is missing that you cant use it.
Comment 4 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This book doesn't address "code first" modeling at all. Don't buy it if that is how you are planning on doing modeling. The recipes are good if you are doing your modeling in SQL or are starting with an existing SQL database.
Comment 3 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
Have been using Entity Framework for almost 2 years (starting back in the beta days!).

Straight-forward in the beginning, Entity Framework can become complex quickly, as you begin implementing complicated business rules and processing operations.

Here, "Entity Framework 4.0 Recipes" is a life-safer as it provides you concise, easy-to-follow, step-by-step examples on resolving the wide variety of questions you could encounter.

Cleverly, the authors (Tenny and Hirani), invested considerable time monitoring the Entity Framework forums, identifying recurring questions and delivering thier problem-solving approach.

Bottom line: This book is "must-have" as it will save you hours of time and frustration researching solutions to the various questions you may encoutner when using Entity Framework. Do not start your project without it!

Couple this book with "Programming Entity Framework", by Julia Lerman, and you will have all the ammunition you need to successfully work Entity Framework.

If you have more questions, feel free to email me at robvettor@hotmail.com

- rob
Comment 5 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This book is handy because it shows you how to work around limitations in the designer (there are many) to achieve what is desired. Trust me, there are many normal things you want to do with a relational schema that the designer cannot handle (such as link tables). The authors give straightforwards instructions how to get around the designer limitations without having to hand edit the edmx file after each modification (something I've had to do quite a bit).

I do share the criticism one other reader raised - that the common steps are repeated add nauseum, but in some ways I guess that is like any recipe book, so I suppose you could argue that's the way it should be done.

Until the updated Lerman book comes out(and perhaps beyond - it's hard to know), this book will be very useful to anyone diving into EF 4.0 development and will save you a lot of frustration.
Comment 5 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
I learned more in the first 25 pages than I had trying to plow through the 1,000 or so pages of the MS (un)help(ful)section of the .NET 4.0 documentation, so definitely, I highly recommend this book. It is, as the title notes, essentially a cookbook of individual recipes for handling a myriad of tasks using Entity Framework. It does not contain deep explanations of the origins or genesis of EF, nor does it offer apologies for Entity Framework's shortcomings. It just shows you how to get things done using simple code examples along with brief but thorough and concise explanations of "the how." You can learn an awful lot just by seeing code that performs a task simply and elegantly with little fuss. Good coding should always emphasize simplicity and maintainability over cleverness and the programmer's bravado, and the examples in this book are clear and simple, and easily understood even for someone inexperienced in Entity Framework.

While some comments noted that there is some confusion in presenting both a LINQ and Entity SQL solutions I suspect their intent was to provide solutions for those already familiar with LINQ as well as a solution in Entity SQL for those who have never been exposed to it. For those unfamiliar with either technique, I think the code speaks for itself: to me it's obvious that Entity SQL is simply more concise, "tighter" in terms of verbiage and clearer in its intent; more intuitive. Those more familiar with LINQ might disagree, but then, that's why the solutions are presented using both techniques: your choice. As for "confusing," or which one's "right," both work equally well, and are nicely contrasted with one another. I'd venture, however, that the MS future is evolving towards Entity SQL and away from LINQ; clearly that's where development is ongoing.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Entity Framework 4.0 Recipes: A Problem-Solution Approach (Expert's Voice in .NET)
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Entity Framework 4.0 Recipes: A Problem-Solution Approach (Expert's Voice in .NET)

Pages with Related Products. See and discover other items: computer programs