1 instantiation of PatternMatchRule
System.Data.Entity (1)
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (1)
72return new PatternMatchRule(matchFunc, processor, onProcessed);
13 references to PatternMatchRule
System.Data.Entity (13)
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (9)
59internal static PatternMatchRule Create(Func<DbExpression, bool> matchFunc, Func<DbExpression, DbExpression> processor) 61return PatternMatchRule.Create(matchFunc, processor, ProcessedAction.Reset); 67internal static PatternMatchRule Create(Func<DbExpression, bool> matchFunc, Func<DbExpression, DbExpression> processor, ProcessedAction onProcessed) 77/// PatternMatchRuleProcessor is a specialization of <see cref="DbExpressionRuleProcessingVisitor"/> that uses a collection of <see cref="PatternMatchRule"/>s 83private readonly System.Collections.ObjectModel.ReadOnlyCollection<PatternMatchRule> ruleSet; 85private PatternMatchRuleProcessor(System.Collections.ObjectModel.ReadOnlyCollection<PatternMatchRule> rules) 105internal static Func<DbExpression, DbExpression> Create(params PatternMatchRule[] rules) 109return new PatternMatchRuleProcessor(new System.Collections.ObjectModel.ReadOnlyCollection<PatternMatchRule>(rules)).Process; 114/// Provides a means of constructing Func&lt;DbExpression, bool&gt; 'patterns' for use with <see cref="PatternMatchRule"/>s.
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (4)
64PatternMatchRule.Create(Pattern_CollapseNestedProjection, ViewSimplifier.CollapseNestedProjection), 67PatternMatchRule.Create(Pattern_Case, ViewSimplifier.SimplifyCaseStatement), 70PatternMatchRule.Create(Pattern_NestedTphDiscriminator, ViewSimplifier.SimplifyNestedTphDiscriminator), 73PatternMatchRule.Create(Pattern_EntityConstructor, this.AddFkRelatedEntityRefs)