Linq

by
Format: Paperback
Pub. Date: 2008-02-01
Publisher(s): Oreilly & Associates Inc
List Price: $21.40

Buy New

Usually Ships in 2-3 Business Days
$20.38

Rent Book

Select for Price
There was a problem. Please try again later.

Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$14.39
*To support the delivery of the digital material to you, a non-refundable digital delivery fee of $3.99 will be charged on each digital item.
$14.39*

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Ready to take advantage of LINQ with C# 3.0? This guide has the detail you need to grasp Microsoft's new querying technology, and concise explanations to help you learn it quickly. And once you begin to apply LINQ, the book serves as an on-the-job reference when you need immediate reminders. All the examples in the LINQ Pocket Reference are preloaded into LINQPad, the highly praised utility that lets you work with LINQ interactively. Created by the authors and free to download, LINQPad will not only help you learn LINQ, it will have you thinking in LINQ.

Author Biography

  1. Joseph Albahari

    Joseph Albahari is a core C# design architect at Egton Medical Information Systems, the largest primary healthcare software supplier in the UK. He has been developing large-scale enterprise applications on .NET and other platforms for more than 15 years, working in medical, telecommunication and education industries. Joseph specializes in writing custom components and controls, and has designed application component frameworks for three companies.
  2. Ben Albahari

    Ben Albahari is currently involved in the bioinformatics business. He was a Program Manager at Microsoft for 5 years, where he worked on several projects, including the .NET Compact Framework and ADO.NET.

    He was the cofounder of Genamics, a provider of tools for C# and J++ programmers, as well as software for DNA and protein sequence analysis. He is a co-author of C# Essentials, the first C# book from O'Reilly, and of previous editions of C# in a Nutshell.

Table of Contents

Getting Startedp. 1
Lambda Queriesp. 4
Chaining Query Operatorsp. 4
Composing Lambda Expressionsp. 6
Natural Orderingp. 9
Other Operatorsp. 9
Comprehension Queriesp. 10
Iteration Variablesp. 12
Query Syntax Versus SQL Syntaxp. 13
Query Syntax Versus Lambda Syntaxp. 13
Mixed Syntax Queriesp. 14
Deferred Executionp. 15
Reevaluationp. 16
Outer Variablesp. 17
How Deferred Execution Worksp. 17
Chaining Decoratorsp. 19
How Queries Are Executedp. 20
Subqueriesp. 22
Subqueries and Deferred Executionp. 25
Composition Strategiesp. 25
Progressive Query Buildingp. 25
The into Keywordp. 27
Wrapping Queriesp. 28
Projection Strategiesp. 30
Object Initializersp. 30
Anonymous Typesp. 30
The let Keywordp. 32
Interpreted Queriesp. 33
How Interpreted Queries Workp. 35
AsEnumerablep. 38
LINQ to SQLp. 40
LINQ to SQL Entity Classesp. 40
DataContextp. 42
Automatic Entity Generationp. 45
Associationsp. 45
Deferred Execution with LINQ to SQLp. 47
DataLoadOptionsp. 48
Updatesp. 50
Building Query Expressionsp. 52
Delegates Versus Expression Treesp. 53
Expression Treesp. 55
Query Operator Overviewp. 59
Filteringp. 62
Wherep. 63
Take and Skipp. 65
TakeWhile and SkipWhilep. 65
Distinctp. 66
Projectingp. 66
Selectp. 67
SelectManyp. 72
Joiningp. 82
Join and GroupJoinp. 83
Orderingp. 92
OrderBy, OrderByDescending, ThenBy, ThenByDescendingp. 92
Groupingp. 95
GroupByp. 96
Set Operatorsp. 100
Concat and Unionp. 100
Intersect and Exceptp. 100
Conversion Methodsp. 101
OfType and Castp. 101
ToArray, ToList, ToDictionary, ToLookupp. 103
AsEnumerable and AsQueryablep. 104
Element Operatorsp. 104
First, Last, Singlep. 105
ElementAtp. 106
DefaultlfEmptyp. 107
Aggregation Methodsp. 107
Count and LongCountp. 107
Min and Maxp. 108
Sum and Averagep. 109
Aggregatep. 110
Quantifiersp. 111
Contains and Anyp. 111
All and SequenceEqualp. 112
Generation Methodsp. 112
Emptyp. 112
Range and Repeatp. 113
LINQ to XMLp. 113
Architectural Overviewp. 114
X-DOM Overviewp. 115
Loading and Parsingp. 117
Saving and Serializingp. 118
Instantiating an X-DOMp. 118
Functional Constructionp. 119
Specifying Contentp. 120
Automatic Deep Cloningp. 121
Navigating/Querying an X-DOMp. 122
Child Node Navigationp. 122
Parent Navigationp. 126
Peer Node Navigationp. 127
Attribute Navigationp. 128
Updating an X-DOMp. 128
Simple Value Updatesp. 128
Updating Child Nodes and Attributesp. 129
Updating Through the Parentp. 130
Working with Valuesp. 133
Setting Valuesp. 133
Getting Valuesp. 133
Values and Mixed Content Nodesp. 135
Automatic XText Concatenationp. 136
Documents and Declarationsp. 136
XDocumentp. 136
XML Declarationsp. 139
Names and Namespacesp. 140
Specifying Namespaces in the X-DOMp. 142
The X-DOM and Default Namespacesp. 143
Prefixesp. 145
Projecting into an X-DOMp. 147
Eliminating Empty Elementsp. 149
Streaming a Projectionp. 150
Transforming an X-DOMp. 151
Indexp. 153
Table of Contents provided by Ingram. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.