nhibernate/nhibernate-core — pull request #43 by hazzik (2012-01-07 17:18:26+00:00)
Title: NH-2998: allow to use .AsQueryable() extension method on child collections

It is useful for applying external predicates on child collections

```csharp
Expression> predicate =
e => e.Comments.Contains("testing");

var query = (from timesheet in db.Timesheets
where timesheet.Entries.AsQueryable().Any(predicate)
select timesheet).ToList();
```

JIRA: https://nhibernate.jira.com/browse/NH-2998