Share via


Tutorial: Chaining Queries Together

This tutorial illustrates the processing model when you chain queries together. Chaining queries together is a key part of writing functional transformations. It is important to understand exactly how chained queries work.

The queries that process Office Open XML documents use this technique extensively.

In This Section

Topic

Description

Deferred Execution and Lazy Evaluation in LINQ to XML

Describes the concepts of deferred execution and lazy evaluation.

Deferred Execution Example

Provides an example of deferred execution.

Chaining Queries Example

Shows how deferred execution works when chaining queries together.

Intermediate Materialization

Identifies and illustrates the semantics of intermediate materialization.

Chaining Standard Query Operators Together

Describes the lazy semantics of the standard query operators.

See Also

Other Resources

Pure Functional Transformations of XML