示例#1
0
        public override Expression Visit(Expression node)
        {
            var expr = base.Visit(node);

            if (!m_ismodified)
            {
                expr = new SubTreeModifier(Queryable).InitWhere(expr, Right);
            }
            return(expr);
        }
示例#2
0
        public override Expression Visit(Expression node)
        {
            if (m_IsModified || m_SortedFilterFieldMetaInfos?.Count == 0)
            {
                return(node);
            }

            var expr = base.Visit(node);

            if (!m_IsModified)
            {
                expr = new SubTreeModifier(Queryable).InitSort(expr, m_SortedFilterFieldMetaInfos);
            }
            return(expr);
        }