3 instantiations of ConstantPredicateOp
System.Data.Entity (3)
System\Data\Query\InternalTrees\Command.cs (2)
76m_trueOp = new ConstantPredicateOp(m_boolType, true); 77m_falseOp = new ConstantPredicateOp(m_boolType, false);
System\Data\Query\InternalTrees\ScalarOps.cs (1)
256internal static readonly ConstantPredicateOp Pattern = new ConstantPredicateOp();
30 references to ConstantPredicateOp
System.Data.Entity (30)
System\Data\Query\InternalTrees\Command.cs (5)
38private ConstantPredicateOp m_trueOp; 39private ConstantPredicateOp m_falseOp; 664internal ConstantPredicateOp CreateConstantPredicateOp(bool value) 673internal ConstantPredicateOp CreateTrueOp() 681internal ConstantPredicateOp CreateFalseOp()
System\Data\Query\InternalTrees\NodeInfo.cs (2)
705ConstantPredicateOp predicate = n.Child1.Op as ConstantPredicateOp;
System\Data\Query\InternalTrees\OpCopier.cs (1)
316public override Node Visit(ConstantPredicateOp op, Node n)
System\Data\Query\InternalTrees\ScalarOps.cs (1)
256internal static readonly ConstantPredicateOp Pattern = new ConstantPredicateOp();
System\Data\Query\InternalTrees\Visitors.cs (2)
200public virtual void Visit(ConstantPredicateOp op, Node n) 1410public virtual TResultType Visit(ConstantPredicateOp op, Node n)
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
700public override DbExpression Visit(ConstantPredicateOp op, Node n)
System\Data\Query\PlanCompiler\TransformationRules.cs (18)
963ConstantPredicateOp constPred = (ConstantPredicateOp)caseOpNode.Children[i].Op; 1085ConstantPredicateOp newOp = context.Command.CreateConstantPredicateOp(result); 1144ConstantPredicateOp constOp = context.Command.CreateConstantPredicateOp((bool)match); 1155new Node(ConstantPredicateOp.Pattern)), 1159new Node(ConstantPredicateOp.Pattern), 1165new Node(ConstantPredicateOp.Pattern)), 1169new Node(ConstantPredicateOp.Pattern), 1174new Node(ConstantPredicateOp.Pattern)), 1195ConstantPredicateOp pred = (ConstantPredicateOp)constantPredicateNode.Op; 1988new Node(ConstantPredicateOp.Pattern)), 2003ConstantPredicateOp predOp = (ConstantPredicateOp)n.Child1.Op; 2885ConstantPredicateOp trueOp = command.CreateTrueOp(); 3290new Node(ConstantPredicateOp.Pattern))), 3306ConstantPredicateOp joinPredicate = (ConstantPredicateOp)joinNode.Child2.Op;