Skip to content

LINQ Pocket Reference Learn and Implement LINQ for . NET Applications

Best in textbook rentals since 2012!

ISBN-10: 0596519249

ISBN-13: 9780596519247

Edition: 2008

Authors: Joseph Albahari, Ben Albahari

List price: $19.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

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. This reference explains: LINQ's key concepts, such as deferred execution, iterator chaining, and type inference in lambda expressions…    
Customers also bought

Book details

List price: $19.99
Copyright year: 2008
Publisher: O'Reilly Media, Incorporated
Publication date: 3/18/2008
Binding: Paperback
Pages: 164
Size: 7.40" wide x 7.05" long x 0.37" tall
Weight: 0.352
Language: English

Joseph Albahari is author of C# 3.0 in a Nutshell, LINQ Pocket Reference, and C# 3.0 Pocket Reference. He has been developing large-scale enterprise applications on .NET and other platforms for more than 15 years, and is author of LINQPad, the popular utility for querying databases in LINQ. Joseph is currently a freelance consultant.

Ben Albahari is cofounder of Genamics, a provider of tools for C# and J++ programmers, as well as software for DNA and protein sequence analysis. He is author of A Comparative Overview of C#, a frequently cited comparison of C# with C/C++ and Java that was recently named by DevX as one of the top 10 .NET sites. Ben is a resident of Perth, Australia, and in his spare time enjoys composing music on his computer. He can be reached at ben@genamics.com.

Getting Started
Lambda Queries
Chaining Query Operators
Composing Lambda Expressions
Natural Ordering
Other Operators
Comprehension Queries
Iteration Variables
Query Syntax Versus SQL Syntax
Query Syntax Versus Lambda Syntax
Mixed Syntax Queries
Deferred Execution
Reevaluation
Outer Variables
How Deferred Execution Works
Chaining Decorators
How Queries Are Executed
Subqueries
Subqueries and Deferred Execution
Composition Strategies
Progressive Query Building
The into Keyword
Wrapping Queries
Projection Strategies
Object Initializers
Anonymous Types
The let Keyword
Interpreted Queries
How Interpreted Queries Work
AsEnumerable
LINQ to SQL
LINQ to SQL Entity Classes
DataContext
Automatic Entity Generation
Associations
Deferred Execution with LINQ to SQL
DataLoadOptions
Updates
Building Query Expressions
Delegates Versus Expression Trees
Expression Trees
Query Operator Overview
Filtering
Where
Take and Skip
TakeWhile and SkipWhile
Distinct
Projecting
Select
SelectMany
Joining
Join and GroupJoin
Ordering
OrderBy, OrderByDescending, ThenBy, ThenByDescending
Grouping
GroupBy
Set Operators
Concat and Union
Intersect and Except
Conversion Methods
OfType and Cast
ToArray, ToList, ToDictionary, ToLookup
AsEnumerable and AsQueryable
Element Operators
First, Last, Single
ElementAt
DefaultlfEmpty
Aggregation Methods
Count and LongCount
Min and Max
Sum and Average
Aggregate
Quantifiers
Contains and Any
All and SequenceEqual
Generation Methods
Empty
Range and Repeat
LINQ to XML
Architectural Overview
X-DOM Overview
Loading and Parsing
Saving and Serializing
Instantiating an X-DOM
Functional Construction
Specifying Content
Automatic Deep Cloning
Navigating/Querying an X-DOM
Child Node Navigation
Parent Navigation
Peer Node Navigation
Attribute Navigation
Updating an X-DOM
Simple Value Updates
Updating Child Nodes and Attributes
Updating Through the Parent
Working with Values
Setting Values
Getting Values
Values and Mixed Content Nodes
Automatic XText Concatenation
Documents and Declarations
XDocument
XML Declarations
Names and Namespaces
Specifying Namespaces in the X-DOM
The X-DOM and Default Namespaces
Prefixes
Projecting into an X-DOM
Eliminating Empty Elements
Streaming a Projection
Transforming an X-DOM
Index