1 instantiation of ViewSimplifier
System.Data.Entity (1)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
46
ViewSimplifier vs = new
ViewSimplifier
(view.MetadataWorkspace, extent);
8 references to ViewSimplifier
System.Data.Entity (8)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (4)
46
ViewSimplifier
vs = new ViewSimplifier(view.MetadataWorkspace, extent);
64
PatternMatchRule.Create(Pattern_CollapseNestedProjection,
ViewSimplifier
.CollapseNestedProjection),
67
PatternMatchRule.Create(Pattern_Case,
ViewSimplifier
.SimplifyCaseStatement),
70
PatternMatchRule.Create(Pattern_NestedTphDiscriminator,
ViewSimplifier
.SimplifyNestedTphDiscriminator),
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (2)
91
if (!
ViewSimplifier
.TryMatchDiscriminatorPredicate(filterExpression, (equalsExp, discriminatorValue) => discriminatorDomain.Add(discriminatorValue)))
112
if (!
ViewSimplifier
.TryMatchPropertyEqualsValue(when, projectionVariableName, out currentDiscriminator, out discriminatorValue)) { return false; }
System\Data\Mapping\ViewGeneration\GeneratedView.cs (2)
49
commandTree =
ViewSimplifier
.SimplifyView(extent, commandTree);
260
commandTree =
ViewSimplifier
.SimplifyView(extent, commandTree);