搜索
编程论坛
→
.NET专区
→
『 ASP.NET技术论坛 』
→ 这条SQL语句用Linq怎么写,谢谢!
标题:
这条SQL语句用Linq怎么写,谢谢!
只看楼主
ntntyy
等 级:
新手上路
帖 子:8
专家分:0
注 册:2006-8-16
楼主
问题点数:0 回复次数:1
这条SQL语句用Linq怎么写,谢谢!
select modeName from sys where id in (select sysid from quanXianBiao where quanxianmingchengID in (select qxid from users where id=1))
三个表嵌套查询,如何转化成linq查询
搜索更多相关主题的帖子:
where
如何
2011-10-29 10:31
long89661314
等 级:
新手上路
帖 子:1
专家分:0
注 册:2012-1-13
第
2
楼
得分:0
string sql = "select modeName from sys where id in (select sysid from quanXianBiao where quanxianmingchengID in (select qxid from users where id=1))";
string[] arr = { };
return db.ExecuteQuery<ResumeInfo>(sql, arr).ToList();
2012-01-16 09:41
2
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-353751-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 0.022130 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved