Uploaded image for project: 'NHibernate [Moved to GitHub]'
  1. NH-2869

Custom extension methods in the select clause are not projected using HQL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0.GA
    • Fix Version/s: 3.3.0.CR1
    • Component/s: Linq Provider
    • Labels:
      None
    • Sprint:

      Description

      When using parametrized custom extension methods in a LINQ projection, NHibernate will always fall back to executing them locally (in .NET code). This is due to any ConstantExpression being regarded as something that should not be projected using HQL. While that may be sound for plain value projections, it's not good as a default for method projections.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gliljas Gunnar Liljas
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?