sql statement to Expression tree
Posted
by Joo Park
on Stack Overflow
See other posts from Stack Overflow
or by Joo Park
Published on 2010-05-14T23:31:57Z
Indexed on
2010/05/14
23:34 UTC
Read the original article
Hit count: 307
c#
|expression-trees
I'm wondering how one would translate a sql string to an expression tree. Currently, in Linq to SQL, the expression tree is translated to a sql statement. How does on go the other way? How would you translate
select * from books where bookname like '%The%' and year > 2008
into an expression tree in c#?
© Stack Overflow or respective owner