JETZT ONLINE BESTELLEN
First Edition März 2008
ISBN 978-0-596-51924-7
172 Seiten
EUR12.00
Weitere Informationen zu diesem Buch
Inhaltsverzeichnis |
Index |
Rezensionen |
Inhaltsverzeichnis
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
DefaultIfEmpty
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-DOMIndex
Zurück zu LINQ Pocket Reference
