Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

A Practical Guide to Programming Language Integrated Query with C#

  • LINQ to Objects

  • LINQ to XML

  • LINQ to SQL

  • LINQ to DataSets

  • LINQ to XSD

In Detail

This book gets you started with LINQ and shows how it will make your programming life easier by making use of new features from the .NET Framework 3.0. This book is split into seven chapters, each of which is dedicated to presenting a feature of LINQ and its usage in real-life scenarios.

Language Integrated Query (LINQ) is a new feature in Visual Studio 2008 that extends its query capabilities, using C# and Visual Basic. Visual Studio 2008 comes with LINQ provider assemblies that enable the use of LINQ with data sources such as in-memory collections, SQL relational databases, ADO.NET Datasets, XML documents, etc.

In Visual Studio 2008, Visual C# and Visual Basic are the languages that implement the LINQ language extensions. LINQ language extensions use the new standard query operators API, which is the query language for any collection that implements IEnumerable.

Subscriber Reviews

Average Rating: 1 out of 5 rating Based on 1 Rating

"Poorly edited; skimps on real content" - by kneumei on 10-DEC-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I found this book to have stilted English and to be poorly edited overall. It read like a bad term paper. Many times, concepts were introduced but not tied together. There was also abundance of superfluous sentences that could have been dropped with no loss of meaning. It almost felt like the author was just tying to increase word count.

Here is an example from Chapter 2

"Now let us say we have to retrieve all the ice-creams that cost less. We can use a looping method, where we have to look at the price value of each object in the list one-by-one and then retrieve the objects that have less value for the Price property. Using LINQ, we can avoid looping through all the objects and its properties to find the required ones. We can use LINQ queries to find this out easily."

Even forgetting the weird phrasing in the first sentence, the last sentence is useless and does not add any value. The book was filled with this kind of stuff that made it feel like the author was rephrasing things to increase the word count.

Another example is in the first chapter, the author spends many pages introducing lots of c# features (partial methods, etc etc) and does not tie these features back into LINQ.

Report as Inappropriate

Table of Contents

 Index