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