我正在尝试让LinqPad使用我的dbml模型,以便从源代码中分析查询。我已经将DataContext设置为“Custom LINQ to SQL DataContext”,以及所有必要的设置,遗憾的是即使使用最简单的查询我也会收到错误:
QUERY: from m in Linia select m
ERROR: Could not find an implementation of the query pattern for source type 'MyNameSpace.Linia'. 'Select' not found.
有人知道如何让它发挥作用吗? THX!
答案 0 :(得分:3)