Skip to content

Commit

Permalink
Update src/NHibernate/Linq/Visitors/SelectClauseVisitor.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
  • Loading branch information
gliljas and fredericDelaporte authored Jan 6, 2025
1 parent 45ff1cf commit 1bd096d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/NHibernate/Linq/Visitors/SelectClauseVisitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ public class SelectClauseVisitor : RelinqExpressionVisitor
private List<HqlExpression> _hqlTreeNodes = new List<HqlExpression>();
private readonly HqlGeneratorExpressionVisitor _hqlVisitor;

// Since v5.6
[Obsolete("Use overload providing expressions to be executed with HQL.")]
public SelectClauseVisitor(System.Type inputType, VisitorParameters parameters) :
this(inputType, parameters, new HashSet<Expression>())
{ }

public SelectClauseVisitor(System.Type inputType, VisitorParameters parameters, HashSet<Expression> hqlCandidates)
{
_inputParameter = Expression.Parameter(inputType, "input");
Expand Down

0 comments on commit 1bd096d

Please sign in to comment.