Book Review: Pro LINQ Object Relational Mapping in C# 2008
 
Published: 10 Dec 2008
Abstract
This book review of Pro LINQ Object Relational Mapping in C# 2008 details the four different sections of the book and describes how this book is better suited for those with experience in Domain Driven Design and ORM's.
by Andrea Colaci
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 15516/ 52

Review

This book is organized in five parts: the first part explores the basics of Object-Relational Mapping with a brief on all existing patterns and tools. The second part examines LINQ to SQL from a practical standpoint, introducing the DataContext class and its behavior, the basics of DBML mapping options, how to construct relationships, joins and projections. Part three is the most interesting one, it introduces the Entity Framework with a fast-paced guide to mapping xml-based infrastructure known as Conceptual-Mapping-Storage models, which syntax and properties are explained quite well and formerly created ground-up, the latter wizard-like example is more suited for beginners who are new in ORMs.

Chapter 6 introduces the ObjectContext class and how to deal with querying data with method-based and expressions approaches, inserting, updating and deleting the graph with Object Services. In chapter 7, the book explains how to manage and map class inheritance; it also introduces the Entity Client Provider API and how to query against Entity Data Model and Conceptual Model. Part four, illustrates with a use case approach, how to apply the topics of the preceding chapters in a practical example in which a domain model is mapped in a top-down manner. Chapter 10 and 11 concentrates concepts like top-down mapping approach, Persistence Ignorance (which is not supported by EF yet), Object Context and DTO's. The last chapter compares LINQ to SQL, Entity Framework and all other non MS options on the market, explaining their differences and why each of them fits better in different scenarios, the author put all these ORMs on the same scale, evaluating their features against a set of criteria used to score a good ORM tool.

Conclusions


I found this book interesting because It was the first one about ADO.Net EF, but if you are new to LINQ and want to learn all about the language enhancements shipped with .net framework 3.5 (on top of which LINQ is based) and the other flavors available (LINQ to XXX) I suggest you look for another one. This book in my opinion is best suited for people who are experienced enough with Domain Driven Design and ORM's and faced with the difficulties to accommodate the Object and the Relational "worlds." It explains how to use LINQ to SQL and Entity Framework to map in bottom-up and top-down approaches, the book is provided with good code samples and the solution used in the use case is available for download.

About the Book

Please fill in the appropriate entries here

Title

Pro LINQ Object Relational Mapping in C# 2008

Author

Vijay P. Mehta

Publisher

APRESS

Edition

 

Pages

408

Price

US $41.18

Rating

***

Related URL

http://www.apress.com/book/view/9781590599655

 



User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2019 ASPAlliance.com  |  Page Processed at 2019-06-19 7:10:18 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search