//判断右表是否为空并为映射表进行赋值标志

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
      }

相关文章:

  • 2021-09-23
  • 2021-05-28
  • 2022-12-23
  • 2021-05-24
  • 2021-12-05
  • 2021-06-21
  • 2022-12-23
  • 2021-08-16
猜你喜欢
  • 2021-11-29
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-05-07
  • 2022-12-23
相关资源
相似解决方案