Exemplo n.º 1
0
        protected HqlTreeNode VisitNhDistinct(NhDistinctExpression expression)
        {
            var visitor = new HqlGeneratorExpressionTreeVisitor(_parameters);

            return(_hqlTreeBuilder.DistinctHolder(
                       _hqlTreeBuilder.Distinct(),
                       visitor.VisitExpression(expression.Expression)));
        }