Skip to content

Instantly share code, notes, and snippets.

@kkozmic
Created July 27, 2011 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkozmic/1109103 to your computer and use it in GitHub Desktop.
Save kkozmic/1109103 to your computer and use it in GitHub Desktop.
var query = from foo in session.Query<Foo>()
from bar in foo.Something.Bars
select anythingReally;
// LINQ provider throws exception complaining
// about second 'from', but in reality it complains about the 'Something' between foo and Bars
var result = query.ToList();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment