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