1 write to m_qp
System.Data.Entity (1)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingPass.cs (1)
34
m_qp
= qp;
22 references to m_qp
System.Data.Entity (22)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingPass.cs (22)
82
bool hasExtraTuples = !
m_qp
.IsDisjointFrom(rewritingSoFar, m_toAvoid);
116
RewritingSimplifier<T_Tile>.TrySimplifyJoinRewriting(ref rewritingSoFar, m_toAvoid, m_usedViews,
m_qp
);
119
T_Tile missingTuples =
m_qp
.AntiSemiJoin(m_toFill, rewritingSoFar);
120
if (!
m_qp
.IsEmpty(missingTuples))
123
if (false == RewritingPass<T_Tile>.RewriteQueryInternal(missingTuples, m_toAvoid, out rewritingForMissingTuples, m_views, new HashSet<T_Tile>(m_usedViews.Keys),
m_qp
))
132
if (
m_qp
.IsContainedIn(rewritingSoFar, rewritingForMissingTuples))
138
rewritingSoFar =
m_qp
.Union(rewritingSoFar, rewritingForMissingTuples);
151
T_Tile newRewriting =
m_qp
.Join(rewriting, view);
152
if (!
m_qp
.IsEmpty(newRewriting))
156
return
m_qp
.IsDisjointFrom(rewriting, m_toAvoid);
164
T_Tile newRewriting =
m_qp
.AntiSemiJoin(rewriting, view);
165
if (!
m_qp
.IsEmpty(newRewriting))
169
return
m_qp
.IsDisjointFrom(rewriting, m_toAvoid);
182
if (
m_qp
.IsContainedIn(m_toFill, view)) // query <= view
191
T_Tile newRewriting =
m_qp
.Join(rewritingSoFar, view);
192
if (!
m_qp
.IsContainedIn(rewritingSoFar, newRewriting))
202
if (
m_qp
.IsContainedIn(rewritingSoFar, m_toFill))
213
if (
m_qp
.IsDisjointFrom(m_toFill, view)) // query ^ view = {}
215
if (!
m_qp
.IsDisjointFrom(rewritingSoFar, view))
217
rewritingSoFar =
m_qp
.AntiSemiJoin(rewritingSoFar, view);
219
if (
m_qp
.IsContainedIn(rewritingSoFar, m_toFill))
235
if (false ==
m_qp
.IsDisjointFrom(view, m_toFill))