Thursday, 7 May 2009

Building Expression Trees

Don't do what I did and implement an Expression Tree Visitor by hand. I was creating an application that used LINQ to SQL to connect to a database, but I wanted to customise the generated SQL queries. Use this very useful bit of code provided on the MSDN website:
http://msdn.microsoft.com/en-us/library/bb882521.aspx

No comments:

Post a comment