O'Reilly logo

Programming Microsoft® LINQ in Microsoft .NET Framework 4 by Paolo Pialorsi and Marco Russo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required