11 instantiations of ScalarRestriction
System.Data.Entity (11)
System\Data\Mapping\ViewGeneration\CellCreator.cs (4)
240
BoolExpression leftQueryWhereClause = BoolExpression.CreateLiteral(new
ScalarRestriction
(memberToExpand, new ScalarConstant(conditionValue)), null);
243
BoolExpression rightQueryWhereClause = BoolExpression.CreateLiteral(new
ScalarRestriction
(rightSidePath, new ScalarConstant(conditionValue)), null);
482
conditionExpression = new
ScalarRestriction
(conditionMemberNode, conditionConstant);
491
conditionExpression = new
ScalarRestriction
(conditionMemberNode, new ScalarConstant(conditionMap.Value));
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
128
return BoolExpression.CreateLiteral(new
ScalarRestriction
(new MemberProjectedSlot(path),
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
187
nullCondition = BoolExpression.CreateLiteral(new
ScalarRestriction
(new MemberProjectedSlot(childPath),
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (2)
314
MemberRestriction restriction = new
ScalarRestriction
(joinSlot.MemberPath, allowedValues, possibleValues);
340
MemberRestriction restriction = new
ScalarRestriction
(projectedSlot.MemberPath, allowedValues, possibleValues);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (3)
64
BoolLiteral newLiteral = new
ScalarRestriction
(RestrictedMemberSlot, new Domain(range, newPossibleValues));
71
return new
ScalarRestriction
(newVar, this.Domain);
77
return new
ScalarRestriction
(this.RestrictedMemberSlot, new Domain(this.Domain.Values, possibleValues));
6 references to ScalarRestriction
System.Data.Entity (6)
System\Data\Mapping\ViewGeneration\Structures\BoolExpressionVisitors.cs (1)
469
if (literal is
ScalarRestriction
|| literal is TypeRestriction)
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
687
ScalarRestriction
scalarConst = restriction as
ScalarRestriction
;
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
90
Debug.Assert(condition is
ScalarRestriction
|| condition is TypeRestriction,
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (2)
207
ScalarRestriction
scalarCond = condition as
ScalarRestriction
;