Linq
by Albahari, JosephBuy New
Rent Book
Digital
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
Author Biography
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.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 Started | p. 1 |
| Lambda Queries | p. 4 |
| Chaining Query Operators | p. 4 |
| Composing Lambda Expressions | p. 6 |
| Natural Ordering | p. 9 |
| Other Operators | p. 9 |
| Comprehension Queries | p. 10 |
| Iteration Variables | p. 12 |
| Query Syntax Versus SQL Syntax | p. 13 |
| Query Syntax Versus Lambda Syntax | p. 13 |
| Mixed Syntax Queries | p. 14 |
| Deferred Execution | p. 15 |
| Reevaluation | p. 16 |
| Outer Variables | p. 17 |
| How Deferred Execution Works | p. 17 |
| Chaining Decorators | p. 19 |
| How Queries Are Executed | p. 20 |
| Subqueries | p. 22 |
| Subqueries and Deferred Execution | p. 25 |
| Composition Strategies | p. 25 |
| Progressive Query Building | p. 25 |
| The into Keyword | p. 27 |
| Wrapping Queries | p. 28 |
| Projection Strategies | p. 30 |
| Object Initializers | p. 30 |
| Anonymous Types | p. 30 |
| The let Keyword | p. 32 |
| Interpreted Queries | p. 33 |
| How Interpreted Queries Work | p. 35 |
| AsEnumerable | p. 38 |
| LINQ to SQL | p. 40 |
| LINQ to SQL Entity Classes | p. 40 |
| DataContext | p. 42 |
| Automatic Entity Generation | p. 45 |
| Associations | p. 45 |
| Deferred Execution with LINQ to SQL | p. 47 |
| DataLoadOptions | p. 48 |
| Updates | p. 50 |
| Building Query Expressions | p. 52 |
| Delegates Versus Expression Trees | p. 53 |
| Expression Trees | p. 55 |
| Query Operator Overview | p. 59 |
| Filtering | p. 62 |
| Where | p. 63 |
| Take and Skip | p. 65 |
| TakeWhile and SkipWhile | p. 65 |
| Distinct | p. 66 |
| Projecting | p. 66 |
| Select | p. 67 |
| SelectMany | p. 72 |
| Joining | p. 82 |
| Join and GroupJoin | p. 83 |
| Ordering | p. 92 |
| OrderBy, OrderByDescending, ThenBy, ThenByDescending | p. 92 |
| Grouping | p. 95 |
| GroupBy | p. 96 |
| Set Operators | p. 100 |
| Concat and Union | p. 100 |
| Intersect and Except | p. 100 |
| Conversion Methods | p. 101 |
| OfType and Cast | p. 101 |
| ToArray, ToList, ToDictionary, ToLookup | p. 103 |
| AsEnumerable and AsQueryable | p. 104 |
| Element Operators | p. 104 |
| First, Last, Single | p. 105 |
| ElementAt | p. 106 |
| DefaultlfEmpty | p. 107 |
| Aggregation Methods | p. 107 |
| Count and LongCount | p. 107 |
| Min and Max | p. 108 |
| Sum and Average | p. 109 |
| Aggregate | p. 110 |
| Quantifiers | p. 111 |
| Contains and Any | p. 111 |
| All and SequenceEqual | p. 112 |
| Generation Methods | p. 112 |
| Empty | p. 112 |
| Range and Repeat | p. 113 |
| LINQ to XML | p. 113 |
| Architectural Overview | p. 114 |
| X-DOM Overview | p. 115 |
| Loading and Parsing | p. 117 |
| Saving and Serializing | p. 118 |
| Instantiating an X-DOM | p. 118 |
| Functional Construction | p. 119 |
| Specifying Content | p. 120 |
| Automatic Deep Cloning | p. 121 |
| Navigating/Querying an X-DOM | p. 122 |
| Child Node Navigation | p. 122 |
| Parent Navigation | p. 126 |
| Peer Node Navigation | p. 127 |
| Attribute Navigation | p. 128 |
| Updating an X-DOM | p. 128 |
| Simple Value Updates | p. 128 |
| Updating Child Nodes and Attributes | p. 129 |
| Updating Through the Parent | p. 130 |
| Working with Values | p. 133 |
| Setting Values | p. 133 |
| Getting Values | p. 133 |
| Values and Mixed Content Nodes | p. 135 |
| Automatic XText Concatenation | p. 136 |
| Documents and Declarations | p. 136 |
| XDocument | p. 136 |
| XML Declarations | p. 139 |
| Names and Namespaces | p. 140 |
| Specifying Namespaces in the X-DOM | p. 142 |
| The X-DOM and Default Namespaces | p. 143 |
| Prefixes | p. 145 |
| Projecting into an X-DOM | p. 147 |
| Eliminating Empty Elements | p. 149 |
| Streaming a Projection | p. 150 |
| Transforming an X-DOM | p. 151 |
| Index | p. 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.