Chapter 14. Inside Expression Trees

Handling and manipulating expression trees is an important skill to have because it enables you to use Microsoft Language Integrated Query (LINQ) in an advanced way. If you want to build a dynamic filter condition, you need to be able to construct an expression tree in memory without using the easy-to-use but lightweight lambda expression syntax assigned to Expression<T> variables. If you want to write your own LINQ provider (a topic covered in Chapter 15), you need to know how to navigate the nodes of an expression tree to correctly interpret its content, translating it into the operation required by your provider. Whether you want to build a dynamic filter condition, write your own LINQ provider, or simply ...

Get Programming Microsoft® LINQ in Microsoft .NET Framework 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.