【发布时间】:2012-07-20 10:23:37
【问题描述】:
var query = from ch in Client.wcf.context.CashHeading
where ch.Id_customer == customern//cc.Id
from cs in Client.wcf.context.Cash
where cs.Id_cashheading == ch.Id
from gg in Client.wcf.context.Good
where gg.Id == cs.Id_good
select gg.Price.Value;
我在处理它时遇到内部错误:
将 Linq 表达式转换为 URI 时出错:只能指定查询 上次导航后的选项(orderby、where、take、skip)。
我不明白为什么,完整来源Here, on GitHub
【问题讨论】:
-
我相信错误是说必须将 where 子句放在所有 3 个 froms 之后。