开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜