出于某种原因,我在以下代码中遇到语法错误。我想要实现的是带有多个连接子句的左连接。语法错误发生在关键字 INTO foobar。VS 2012 说出乎意料的 Token。任何帮助都会很棒,谢谢!
Dim results = From f In foo _
Join b In bar On new with {f.Type,f.ID} Equals New With {"Test",b.ID} into fooBar _
from x in foobar.DefaultEmpty() _
Where foo.id = 1