Linq macro substitution
I can build up a sql string by concatenating a string i.e.
String fieldname =”Company”;
String tableName= 开发者_StackOverflow社区“Address”;
“select “+fieldname+” from “+tableName
How can I do this with Linq?
TIA
Stuart
Scott Gu talks about Dynamic linq here
精彩评论