コード例 #1
0
		protected virtual Expression VisitNhMax(NhMaxExpression expression)
		{
			return expression.Accept(this);
		}
コード例 #2
0
        protected virtual Expression BaseVisitNhMax(NhMaxExpression expression)
        {
            Expression nx = base.VisitExpression(expression.Expression);

            return nx != expression.Expression ? new NhMaxExpression(nx) : expression;
        }
		protected HqlTreeNode VisitNhMax(NhMaxExpression expression)
		{
			return _hqlTreeBuilder.Cast(_hqlTreeBuilder.Max(VisitExpression(expression.Expression).AsExpression()), expression.Type);
		}
コード例 #4
0
 protected virtual Expression VisitNhMax(NhMaxExpression expression)
 {
     return VisitUnhandledItem<NhMaxExpression, Expression>(expression, "VisitNhMax", BaseVisitNhMax);
 }