日期:2014-05-20  浏览次数:20679 次

关于 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