Skip to Content
LINQ in Action
book

LINQ in Action

by James Wooley, Fabrice Marguerie, Steve Eichert
January 2008
Intermediate to advanced
576 pages
16h 19m
English
Manning Publications

Overview

LINQ in Action is a fast-paced, comprehensive tutorial for professional developers who want to use LINQ. This book explores what can be done with LINQ, shows you how it works in an application, and addresses the emerging best practices. It presents the general purpose query facilities offered by LINQ in the upcoming C# 3.0 and VB.NET 9.0 languages. A running example introduces basic LINQ concepts. You'll then learn to query unstructured data using LINQ to XML and relational data with LINQ to SQL. Finally, you'll see how to extend LINQ for custom applications.



About the Technology

LINQ, Language INtegrated Query, is a new extension to the Visual Basic and C# programming languages designed to simplify data queries and database interaction. It addreses O/R mapping issues by making query operations like SQL statements part of the programming language. Adding to its power, LINQ is extensible and can be used to query various data sources. It offers built-in support for querying in-memory collections like arrays or lists, XML, DataSets, and relational databases.



About the Book

LINQ in Action will guide you along as you navigate this new world of lambda expressions, query operators, and expression trees. You'll also explore the new features of C# 3.0, VB.NET 9.0. The book is very practical, anchoring each new idea with running code.

You will discover all the basics needed to get a clear understanding of LINQ. Whether you want to use LINQ to query objects, XML documents, or relational databases, you will find all the information you need to get started.

But LINQ in Action does not stop at the basic code. This book also shows you how LINQ can be used for advanced processing of data. This includes coverage of LINQ's extensibility, which allows querying more data sources than those supported by default.

All code samples are built on a concrete business case. The running example, LinqBooks, is a personal book cataloging system that shows you how to create LINQ applications with Visual Studio 2008.



What's Inside
  • Introduction to LINQ in C# and VB.NET
  • How to query objects in memory
  • Manipulating XML with LINQ
  • Mapping objects to relational databases
  • Extending LINQ
  • Common scenarios


About the Reader

LINQ in Action is for developers with a working knowledge of the .NET Framework and C# or VB.NET.



About the Authors

Fabrice Marguerie is a software architect and developer based in Paris, France. Fabrice is a C# MVP and has been working with LINQ from the first prototypes.

Steve Eichert is a Senior Software Engineer for Algorithmics, Inc. based in Philadelphia, PA.

Jim Wooley has been working with .Net since PDC 2000 and has been actively evangelizing LINQ since its annoucement in 2005. He leads the Atlanta VB Study Group and serves as INETA Membership Manager for the Georgia region.



Quotes
It's like they threw a party for LINQ and everyone who's anyone showed up.
- From the Foreword by Matt Warren, Principal Architect, Microsoft

Great if you want to fully grok LINQ.
- Javier Lozano, lozanotek.com

Very useful—both straight-forward and pragmatic.
- Bruno Boucard, Microsoft France

Teaches you to think in LINQ. Wonderfully complete.
- Jon Skeet, C# MVP and author of "C# in Depth"

Covers LINQ, inside & out.
- Mohammad Azam, University of Houston

A great guide to all things LINQ!
- Tomas Restrepo, devdeo ltda

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

LINQ to Objects

LINQ to Objects

Colin Melia
LINQ Pocket Reference

LINQ Pocket Reference

Joseph Albahari, Ben Albahari

Publisher Resources

ISBN: 9781933988160Publisher SupportPublisher Website