Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 3.2.0.GA
    • Fix versions: 3.3.0.CR1
    • Components: Linq Provider
    • Labels:
      None
    • Sprint:

      Description

      We want to build filters for child collection in code.

      Query

      var query = from bar in session.Query<Bar>()
      where bar.Cars.AsQueryable().Any(x => x.IsActive)
      select bar;

      var result = query.ToList();

      throws the exception

      Remotion.Linq.Parsing.ParserException : Could not parse expression 'bar.Cars.AsQueryable()': This overload of the method 'System.Linq.Queryable.AsQueryable' is currently not supported.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hazzik Alexander Zaytsev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?