Inheritance: SingleQueryPlanNode
        protected override IQueryPlanNode VisitConstantSelect(ConstantSelectNode node)
        {
            if (node.Expression != null)
                node.Expression.DiscoverTableNames(tableNames);

            return base.VisitConstantSelect(node);
        }
Example #2
0
        protected virtual IQueryPlanNode VisitConstantSelect(ConstantSelectNode node)
        {
            var child = node.Child;
            if (child != null)
                child = VisitNode(child);

            return new ConstantSelectNode(child, node.Expression);
        }
        protected override IQueryPlanNode VisitConstantSelect(ConstantSelectNode node)
        {
            if (node.Expression != null)
            {
                node.Expression.DiscoverAccessedResources(tableNames);
            }

            return(base.VisitConstantSelect(node));
        }
        protected virtual IQueryPlanNode VisitConstantSelect(ConstantSelectNode node)
        {
            var child = node.Child;

            if (child != null)
            {
                child = VisitNode(child);
            }

            return(new ConstantSelectNode(child, node.Expression));
        }