//判断右表是否为空并为映射表进行赋值标志var query=from q in product join m in favProduct on q.Name equals m.Name into t from x in t.DefalultEmpty() select new { Name=q.Name, fav=x!=null/fav=x=null?false:true }
linq左连接查询加上into后怎么查询右表是否为空
原文:http://www.cnblogs.com/LessIsMoreZ/p/6390230.html