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