我想列出所有CloseDate
大于 的记录DateTime.Now
。
我已经为此编写了一个查询,但它没有获取CloseDate
大于DateTime.Now
.
请参阅下面的查询
var query = (from x in objEntity.VacancyMsts
join o in objEntity.OrganizationMst on
x.OrganizationID equals o.OrganizationId into vacorg
from o in vacorg.DefaultIfEmpty()
where x.Status == true && x.CloseDate >= DateTime.Now
select new VacancyMstDTO
{});
我的查询有什么问题吗?