关于 exists 的表达式或方法~~
select * from Table_A as a
where exists(select 1 from Table_B
where a.ID = ReferenceID)
Linq是如何写的..?
[解决办法]
var q = from c in Table_A where c.Table_B.Any()
select c
发布时间: 2012-03-08 13:30:13 作者: rapoo
关于 exists 的表达式或方法~~
select * from Table_A as a
where exists(select 1 from Table_B
where a.ID = ReferenceID)
Linq是如何写的..?
[解决办法]
var q = from c in Table_A where c.Table_B.Any()
select c