【发布时间】:2017-11-19 01:25:01
【问题描述】:
我正在努力解决以下代码。
var q = from hed in cxt.SOPOrderReturns.ToExpandable()
join cus in cxt.SLCustomerAccounts
on hed.CustomerID equals cus.SLCustomerAccountID
join ad in cxt.SOPDocDelAddresses
on hed.SOPOrderReturnID equals ad.SOPOrderReturnID
where hed.AnalysisCode1 == "SO"
select new
{
hed.SOPOrderReturnID,
hed.DocumentNo,
hed.DocumentDate,
cus.CustomerAccountNumber,
Route = hed.AnalysisCode2,
Drop = hed.AnalysisCode5,
hed.ReadyForInvoicePrint,
};
q = q.RemoveExpandable();
return q;
列 hed.ReadyForInvoicePrint 是布尔值,我想添加一个 where 语句,该语句还显示该列是否为 FALSE。
谢谢
杰米
【问题讨论】: