protected HqlTreeNode VisitNhDistinct(NhDistinctExpression expression)
        {
            var visitor = new HqlGeneratorExpressionVisitor(_parameters);

            return(_hqlTreeBuilder.ExpressionSubTreeHolder(_hqlTreeBuilder.Distinct(), visitor.VisitExpression(expression.Expression)));
        }
Beispiel #2
0
 public SelectClauseVisitor(System.Type inputType, VisitorParameters parameters)
 {
     _inputParameter = Expression.Parameter(inputType, "input");
     _parameters     = parameters;
     _hqlVisitor     = new HqlGeneratorExpressionVisitor(_parameters);
 }