Pro LINQ: Language Integrated Query in C# 2008

Pro LINQ: Language Integrated Query in C# 2008
Authors
Jr. Joseph C. Rattz
ISBN
1590597893
Published
28 Nov 2007
Purchase online
amazon.com

LINQ is the project name for a set of extensions to the .NET Framework that provide a generic approach to querying data from different data sources. LINQ will premier in Visual Studio 2008, and will become the next must-have skill for .NET developers. Pro LINQ: Language Integrated Query in C# 2008 is all about code. Literally, this book starts with code and ends with code.

Editorial Reviews

LINQ is the project name for a set of extensions to the .NET Framework that provide a generic approach to querying data from different data sources. LINQ will premier in Visual Studio 2008, and will become the next must–have skill for .NET developers. For more information about LINQ, you can check out the author’s portal at www.LINQdev.com.

Pro LINQ: Language Integrated Query in C# 2008 is all about code.

Literally, this book starts with code and ends with code. In most books, the author shows the simplest example demonstrating how to use a method, but they so rarely show how to use the more complex prototypes. Pro LINQ: Language Integrated Query in C# 2008 is different. Demonstrating the overwhelming majority of LINQ operators and protoypes, it is a veritable treasury of LINQ examples.

Rather than obscure the relevant LINQ principles in code examples by focusing on a demonstration application you have no interest in writing, Pro LINQ: Language Integrated Query in C# 2008 cuts right to the chase of each LINQ operator, method, or class. However, where complexity is necessary to truly demonstrate an issue, the examples are right there in the thick of it. For example, code samples demonstrating how to handle concurrency conflicts actually create concurrency conflicts so you can step through the code and see them unfold.

Most books tell you about the simple stuff, while few books warn you of the pitfalls. Where Pro LINQ: Language Integrated Query in C# 2008 returns your investment is in the hours, and sometimes days, spent by the author determining why something may not work as expected. Sometimes this results in an innocent looking paragraph that may take you a minute to read and understand, but took days to research and explain.

Face it, most technical books while informative, are dull. LINQ need not be dull. Written with a sense of humor, Pro LINQ: Language Integrated Query in C# 2008 will attempt to entertain you on your journey through the wonderland of LINQ and C# 2008.

What you’ll learn

  • How to leverage all the LINQ-relevant C# 2008 language features including extension methods, lambda expressions, anonymous data types, and partial methods.
  • How to use LINQ to Objects to query in–memory data collections such as arrays, ArrayLists, and Lists to retrieve the data you want.
  • Why some queries are deferred, how a deferred query can bite you, and how you can make deferred queries work for you.
  • How to use LINQ to XML to revolutionize your creation, manipulation, and searching of XML data.
  • How to query DataSets with LINQ to DataSet so you can co–exist with legacy code and use LINQ to query databases other than SQL Server.
  • How to query Databases with LINQ to SQL, write your own entity classes, and understand how to handle concurrency conflicts.

Who this book is for

This book is written for the proficient C# developer, but you do not need to be up on all the latest C# features to understand the material.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” - Edsger Dijkstra