System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (19)
71static Tile<FragmentQuery> TrueViewSurrogate = CreateTile(FragmentQuery.Create(BoolExpression.True));
95Tile<FragmentQuery> tile = CreateTile(query);
348bool isAlwaysTrue = _qp.IsContainedIn(CreateTile(_domainQuery), rewriting);
349bool isAlwaysFalse = _qp.IsDisjointFrom(CreateTile(_domainQuery), rewriting);
694Tile<FragmentQuery> noNullToAvoid = CreateTile(FragmentQuery.Create(_keyAttributes, BoolExpression.CreateNot(fragmentQuery.Condition)));
697if (!RewriteQuery(CreateTile(tileQuery), noNullToAvoid, /*_views,*/ out noNullRewriting, out notCoveredAttributes, false /* isRelaxed */))
712Tile<FragmentQuery> toAvoid = CreateTile(FragmentQuery.Create(_keyAttributes, BoolExpression.CreateNot(toFill.Query.Condition)));
830Tile<FragmentQuery> toFill = CreateTile(FragmentQuery.Create(attributes, whereClause));
832Tile<FragmentQuery> toAvoid = CreateTile(FragmentQuery.Create(_keyAttributes, BoolExpression.CreateNot(whereClause)));
857if (!RewriteQueryCached(CreateTile(FragmentQuery.Create(toFillQuery.Condition)), toAvoid, relevantViews, out rewriting))
863if (_qp.IsEmpty(CreateTile(toFillQuery)) ||
864!RewriteQueryCached(CreateTile(FragmentQuery.Create(toFillQuery.Condition)), toAvoid, relevantViews, out rewriting))
967attributeTile = (attributeTile == null) ? CreateTile(view) : _qp.Union(attributeTile, CreateTile(view));
996if (_qp.IsEmpty(CreateTile(currentAttributeCondition)))
1058unionTile = (unionTile == null) ? CreateTile(view) : _qp.Union(unionTile, CreateTile(view));
1098unionTile = (unionTile == null) ? CreateTile(view) : _qp.Union(unionTile, CreateTile(view));