怎样快速输出linq的sql语句

throw new Exception(db.GetCommand(q).CommandText);

q为var的变量

posted on 2008-11-09 22:07  sky老杨  阅读(419)  评论(0)    收藏  举报

导航