1 type derived from RuleProcessingContext
System.Data.Entity (1)
System\Data\Query\PlanCompiler\TransformationRules.cs (1)
36
internal class TransformationRulesContext :
RuleProcessingContext
54 references to RuleProcessingContext
System.Data.Entity (54)
System\Data\Query\InternalTrees\Rule.cs (2)
35
internal delegate bool ProcessNodeDelegate(
RuleProcessingContext
context, Node subTree, out Node newSubTree);
79
internal bool Apply(
RuleProcessingContext
ruleProcessingContext, Node node, out Node newNode)
System\Data\Query\InternalTrees\RuleProcessor.cs (5)
45
private static bool ApplyRulesToNode(
RuleProcessingContext
context, ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> rules, Node currentNode, out Node newNode)
85
private Node ApplyRulesToSubtree(
RuleProcessingContext
context,
155
internal Node ApplyRulesToSubtree(
RuleProcessingContext
context, ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> rules, Node subTreeRoot)
176
internal SubTreeId(
RuleProcessingContext
context, Node node, Node parent, int childIndex)
209
internal delegate void OpDelegate(
RuleProcessingContext
context, Node node);
System\Data\Query\PlanCompiler\TransformationRules.cs (47)
839
static bool ProcessSimplifyCase(
RuleProcessingContext
context, Node caseOpNode, out Node newNode)
914
private static bool ProcessSimplifyCase_EliminateWhenClauses(
RuleProcessingContext
context, CaseOp caseOp, Node caseOpNode, out Node newNode)
1035
static bool ProcessFlattenCase(
RuleProcessingContext
context, Node caseOpNode, out Node newNode)
1073
static bool ProcessComparisonsOverConstant(
RuleProcessingContext
context, Node node, out Node newNode)
1129
static bool ProcessLikeOverConstant(
RuleProcessingContext
context, Node n, out Node newNode)
1190
static bool ProcessLogOpOverConstant(
RuleProcessingContext
context, Node node,
1217
static bool ProcessAndOverConstantPredicate1(
RuleProcessingContext
context, Node node, out Node newNode)
1221
static bool ProcessAndOverConstantPredicate2(
RuleProcessingContext
context, Node node, out Node newNode)
1225
static bool ProcessOrOverConstantPredicate1(
RuleProcessingContext
context, Node node, out Node newNode)
1229
static bool ProcessOrOverConstantPredicate2(
RuleProcessingContext
context, Node node, out Node newNode)
1233
static bool ProcessNotOverConstantPredicate(
RuleProcessingContext
context, Node node, out Node newNode)
1258
static bool ProcessIsNullOverConstant(
RuleProcessingContext
context, Node isNullNode, out Node newNode)
1275
static bool ProcessIsNullOverNull(
RuleProcessingContext
context, Node isNullNode, out Node newNode)
1296
static bool ProcessNullCast(
RuleProcessingContext
context, Node castNullOp, out Node newNode)
1320
static bool ProcessIsNullOverVarRef(
RuleProcessingContext
context, Node isNullNode, out Node newNode)
1431
static bool ProcessFilterOverFilter(
RuleProcessingContext
context, Node filterNode, out Node newNode)
1457
static bool ProcessFilterOverProject(
RuleProcessingContext
context, Node filterNode, out Node newNode)
1539
static bool ProcessFilterOverSetOp(
RuleProcessingContext
context, Node filterNode, out Node newNode)
1641
static bool ProcessFilterOverDistinct(
RuleProcessingContext
context, Node filterNode, out Node newNode)
1700
static bool ProcessFilterOverGroupBy(
RuleProcessingContext
context, Node filterNode, out Node newNode)
1793
static bool ProcessFilterOverJoin(
RuleProcessingContext
context, Node filterNode, out Node newNode)
1956
static bool ProcessFilterOverOuterApply(
RuleProcessingContext
context, Node filterNode, out Node newNode)
2000
static bool ProcessFilterWithConstantPredicate(
RuleProcessingContext
context, Node n, out Node newNode)
2110
static bool ProcessProjectOverProject(
RuleProcessingContext
context, Node projectNode, out Node newNode)
2186
static bool ProcessProjectWithNoLocalDefinitions(
RuleProcessingContext
context, Node n, out Node newNode)
2220
static bool ProcessProjectWithSimpleVarRedefinitions(
RuleProcessingContext
context, Node n, out Node newNode)
2326
static bool ProcessProjectOpWithNullSentinel(
RuleProcessingContext
context, Node n, out Node newNode)
2433
static bool ProcessApplyOverFilter(
RuleProcessingContext
context, Node applyNode, out Node newNode)
2511
static bool ProcessOuterApplyOverDummyProjectOverFilter(
RuleProcessingContext
context, Node applyNode, out Node newNode)
2638
static bool ProcessCrossApplyOverProject(
RuleProcessingContext
context, Node applyNode, out Node newNode)
2703
static bool ProcessOuterApplyOverProject(
RuleProcessingContext
context, Node applyNode, out Node newNode)
2826
static bool ProcessApplyOverAnything(
RuleProcessingContext
context, Node applyNode, out Node newNode)
2916
static bool ProcessApplyIntoScalarSubquery(
RuleProcessingContext
context, Node applyNode, out Node newNode)
3300
static bool ProcessCrossApplyOverLeftOuterJoinOverSingleRowTable(
RuleProcessingContext
context, Node applyNode, out Node newNode)
3390
static bool ProcessJoinOverProject(
RuleProcessingContext
context, Node joinNode, out Node newNode)
3551
static bool ProcessJoinOverFilter(
RuleProcessingContext
context, Node joinNode, out Node newNode)
3643
static bool ProcessJoinOverSingleRowTable(
RuleProcessingContext
context, Node joinNode, out Node newNode)
3704
static bool ProcessSingleRowOpOverAnything(
RuleProcessingContext
context, Node singleRowNode, out Node newNode)
3750
static bool ProcessSingleRowOpOverProject(
RuleProcessingContext
context, Node singleRowNode, out Node newNode)
3812
private static bool ProcessSetOpOverEmptySet(
RuleProcessingContext
context, Node setOpNode, out Node newNode)
3878
static bool ProcessGroupByWithSimpleVarRedefinitions(
RuleProcessingContext
context, Node n, out Node newNode)
3973
static bool ProcessGroupByOverProject(
RuleProcessingContext
context, Node n, out Node newNode)
4175
static bool ProcessGroupByOpWithNoAggregates(
RuleProcessingContext
context, Node n, out Node newNode)
4227
private static bool ProcessGroupByOpOnAllInputColumnsWithAggregateOperation(
RuleProcessingContext
context, Node n, out Node newNode)
4347
static bool ProcessSortOpOverAtMostOneRow(
RuleProcessingContext
context, Node n, out Node newNode)
4386
static bool ProcessConstrainedSortOpOverEmptySet(
RuleProcessingContext
context, Node n, out Node newNode)
4426
static bool ProcessDistinctOpOfKeys(
RuleProcessingContext
context, Node n, out Node newNode)