コード例 #1
0
		protected virtual Expression VisitNhCount(NhCountExpression expression)
		{
			return expression.Accept(this);
		}
		protected HqlTreeNode VisitNhCount(NhCountExpression expression)
		{
			return _hqlTreeBuilder.Cast(_hqlTreeBuilder.Count(VisitExpression(expression.Expression).AsExpression()), expression.Type);
		}
コード例 #3
0
        protected virtual Expression BaseVisitNhCount(NhCountExpression expression)
        {
            Expression nx = base.VisitExpression(expression.Expression);

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

			return nx != expression.Expression ? expression.CreateNew(nx) : expression;
		}
コード例 #6
0
        protected virtual Expression VisitNhCount(NhCountExpression expression)
        {
            Expression nx = VisitExpression(expression.Expression);

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