Skip to content

Commit 1bd096d

Browse files
Update src/NHibernate/Linq/Visitors/SelectClauseVisitor.cs
Co-authored-by: Frédéric Delaporte <[email protected]>
1 parent 45ff1cf commit 1bd096d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/NHibernate/Linq/Visitors/SelectClauseVisitor.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ public class SelectClauseVisitor : RelinqExpressionVisitor
2121
private List<HqlExpression> _hqlTreeNodes = new List<HqlExpression>();
2222
private readonly HqlGeneratorExpressionVisitor _hqlVisitor;
2323

24+
// Since v5.6
25+
[Obsolete("Use overload providing expressions to be executed with HQL.")]
26+
public SelectClauseVisitor(System.Type inputType, VisitorParameters parameters) :
27+
this(inputType, parameters, new HashSet<Expression>())
28+
{ }
29+
2430
public SelectClauseVisitor(System.Type inputType, VisitorParameters parameters, HashSet<Expression> hqlCandidates)
2531
{
2632
_inputParameter = Expression.Parameter(inputType, "input");

0 commit comments

Comments
 (0)