【发布时间】:2011-05-21 06:22:02
【问题描述】:
我正在尝试在 LINQPad 中使用以下查询。它不工作。我得到了这个例外:
NotSupportedException:不支持使用表达式 t.BoxArt.SmallUrl 构造或初始化 f__AnonymousType0`1[System.String] 类型的实例。
from t in Titles where t.Id == "ApUFq" select new { t.BoxArt.SmallUrl }
【问题讨论】: