34 references to WhereClause
System.Data.Entity (34)
System\Data\Mapping\ViewGeneration\CellCreator.cs (2)
241
leftQueryWhereClause = BoolExpression.CreateAnd(originalCell.GetLeftQuery(viewTarget).
WhereClause
, leftQueryWhereClause);
244
rightQueryWhereClause = BoolExpression.CreateAnd(originalCell.GetRightQuery(viewTarget).
WhereClause
, rightQueryWhereClause);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (10)
467
whereClause = BoolExpression.CreateAnd(query1.
WhereClause
, query2.
WhereClause
);
476
conjunct2 = BoolExpression.CreateAnd(query2.
WhereClause
, g2);
478
whereClause = query1.
WhereClause
;
486
conjunct1 = BoolExpression.CreateAnd(query1.
WhereClause
, g1);
487
conjunct2 = BoolExpression.CreateAnd(query2.
WhereClause
, g2);
490
whereClause = BoolExpression.CreateOr(BoolExpression.CreateAnd(query1.
WhereClause
, g1),
491
BoolExpression.CreateAnd(query2.
WhereClause
, g2));
500
conjunct2 = BoolExpression.CreateAnd(query2.
WhereClause
, g2);
501
whereClause = BoolExpression.CreateAnd(query1.
WhereClause
, BoolExpression.CreateNot(conjunct2));
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (3)
43
BoolExpression whereClause = cellQuery.
WhereClause
;
51
BoolExpression whereClause = cellQuery.
WhereClause
.Create(roleBoolean);
52
whereClause = BoolExpression.CreateAnd(whereClause, cellQuery.
WhereClause
);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (4)
69
CellTreeNode complementSQueryTreeForCondition = complementWhereClauseVisitor.GetCellTreeNode(cell.SQuery.
WhereClause
);
105
CellTreeNode plainSQueryTreeForCondition = plainWhereClauseVisitor.GetCellTreeNode(cell.SQuery.
WhereClause
);
256
BoolExpression cWhereClause = PropagateCellConstantsToWhereClause(wrapper, wrapper.RightCellQuery.
WhereClause
,
333
BoolExpression expression = wrapper.RightCellQuery.
WhereClause
;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
674
foreach (BoolExpression atom in
WhereClause
.Atoms)
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
197
cellQuery.
WhereClause
, identifiers, ++blockAliasNum);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (3)
360
bool whereClauseEqual = BoolExpression.EqualityComparer.Equals(left.RightCellQuery.
WhereClause
,
361
right.RightCellQuery.
WhereClause
);
368
return BoolExpression.EqualityComparer.GetHashCode(wrapper.RightCellQuery.
WhereClause
) ^ wrapper.RightExtent.GetHashCode();
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (2)
211
!leftCellWrapper.OnlyInputCell.CQuery.
WhereClause
.Equals(leftCellWrapper.OnlyInputCell.SQuery.
WhereClause
) && /* projection allowed when both conditions are equal */
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
270
wrapper.OnlyInputCell.CQuery.
WhereClause
.MemberRestrictions.Select(oneOf => oneOf.RestrictedMemberSlot.MemberPath),
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (7)
87
cell.CQuery.
WhereClause
.FixDomainMap(queryOpenDomain);
88
cell.SQuery.
WhereClause
.FixDomainMap(updateOpenDomain);
89
cell.CQuery.
WhereClause
.ExpensiveSimplify();
90
cell.SQuery.
WhereClause
.ExpensiveSimplify();
91
cell.CQuery.
WhereClause
.FixDomainMap(m_queryDomainMap);
92
cell.SQuery.
WhereClause
.FixDomainMap(m_updateDomainMap);
208
cell.SQuery.
WhereClause
.FixDomainMap(m_updateDomainMap);