コード例 #1
0
		protected virtual Expression VisitNhDistinct(NhDistinctExpression expression)
		{
			return expression.Accept(this);
		}
		protected HqlTreeNode VisitNhDistinct(NhDistinctExpression expression)
		{
			var visitor = new HqlGeneratorExpressionTreeVisitor(_parameters);
			return _hqlTreeBuilder.ExpressionSubTreeHolder(_hqlTreeBuilder.Distinct(), visitor.VisitExpression(expression.Expression));
		}
コード例 #3
0
        protected Expression BaseVisitNhDistinct(NhDistinctExpression expression)
        {
            Expression nx = base.VisitExpression(expression.Expression);

            return nx != expression.Expression ? new NhDistinctExpression(nx) : expression;
        }
コード例 #4
0
 protected virtual Expression VisitNhDistinct(NhDistinctExpression expression)
 {
     return VisitUnhandledItem<NhDistinctExpression, Expression>(expression, "VisitNhDistinct", BaseVisitNhDistinct);
 }
コード例 #5
0
		protected virtual Expression VisitNhDistinct(NhDistinctExpression expression)
		{
			Expression nx = VisitExpression(expression.Expression);

			return nx != expression.Expression ? new NhDistinctExpression(nx) : expression;
		}