【发布时间】:2010-03-29 18:47:02
【问题描述】:
我是 subsonic3 的新手,尝试使用 LeftJoin 时遇到一些错误
var q =
from c in categories
join p in products on c equals p.Category into ps
from p in ps.DefaultIfEmpty()
select new { Category = c, ProductName = p == null ? "(No products)" : p.ProductName };
错误是 "System.Collections.Generic.Enumerable '...' 不能用于 System.Linq.IQueryable 类型的参数
以前有人遇到过这个错误吗?你修好了吗? 谢谢
【问题讨论】:
-
您能否尝试从github.com/subsonic/SubSonic-3.0 提取最新版本并报告您是否仍然遇到此问题。谢谢