REVIEW

Book Review: Pro LINQ - Language Integrated Query in C# 2008 by Joseph C. Rattz, Jr.

Written by T. Michael Testi
Published April 09, 2008
page 1 | 2 | 3

You will begin with learning what sequences are, the data type that represents them, and the impact of deferred query execution. It can work for or against you, so its understanding is of key importance. After you learn about the deferred operators, you will then learn about nondeferred operators. By the time you are done, you will have nearly 50 operators to choose from.

Part 3, "LINQ to XML" now moves on to XML. Here you will begin by seeing the standard methods for dealing with XML by using the W3C DOM XML API. Creating XML documents this way is a nightmare that is not only hard to read, it is even harder to support. In LINQ to XML, Microsoft not only supports queries, but it fixed a number of deficiencies in the XML API.

First the author begins by showing how to create XML hierarchies in a fraction of the code; 10 lines as opposed to 29 lines. He also shows you how to create, modify and traverse XML documents as well as performing queries on an XML object.

Next he covers how to query sequences of nodes or elements using the LINQ to XML operators, and then how to perform queries on XML trees and the standard query operators that can be mingled with LINQ to XML operators to perform powerful queries. Finally he explores some additional capabilities such as performing transformations with XSLT and without. He demonstrates how to validate an XML Document against a Schema as well as performing an XPath style query.

Part 4, "LINQ to DataSet" is next up, and here you are shown how to perform queries against any dataset that has been obtained using normal ADO.NET SQL queries. This provides a more dynamic database querying interface than LINQ to SQL since LINQ to SQL can only be performed on a Microsoft SQL server.

Next you will see how to work with typed datasets. This chapter begins by showing you how to make the most of LINQ to DataSet and then follows up with some real world examples. Since the reality is that your existing code uses datasets, by using LINQ to DataSets, you can retrofit your current code to take advantage of the new technology much quicker than rewriting to use LINQ to SQL.

page 1 | 2 | 3
T. Michael Testi is a photographer, writer, software developer and ardent fan of fantasy football . He also blogs at PhotographyTodayNet and at All This and Everything Else.
Keep reading for information and comments on this article, and add some feedback of your own!
Book Review: Pro LINQ - Language Integrated Query in C# 2008 by Joseph C. Rattz, Jr.
Published: April 09, 2008
Type: Review
Section: Books
Filed Under: Books: Computers and Internet, Review, Sci/Tech: Computers, Sci/Tech: Internet, Sci/Tech: Programming, Sci/Tech: Software
Part of a feature: The RAM Review
Writer: T. Michael Testi
T. Michael Testi's BC Writer page
T. Michael Testi's personal site
Spread the Word
Like this article?
Email this
Submit to del.icio.us Save to del.icio.us
RSS Feeds
All RSS Feeds (240+)
Comments on this article
Articles in this series
BC articles by T. Michael Testi
Books: Computers and Internet
Review
Sci/Tech: Computers
Sci/Tech: Internet
Sci/Tech: Programming
Sci/Tech: Software
All Books Articles
All Review articles
All BC articles
All BC Comments

Comments

Want comments emailed to you? No spam, promise! Address:

Add your comment, speak your mind

(Or ping: http://blogcritics.org/mt/tb/75649)

Personal attacks are not allowed. Please read our comment policy.





Remember Name/URL?

Please preview your comment!

Fresh
Articles
Fresh
Comments