10 instantiations of TypeRestriction
System.Data.Entity (10)
System\Data\Mapping\ViewGeneration\CellCreator.cs (3)
330cQueryWhereClause = BoolExpression.CreateLiteral(new TypeRestriction(cRootExtent, allTypes), null); 419BoolExpression complexInTypes = BoolExpression.CreateLiteral(new TypeRestriction(complexMemberNode, allTypes), null); 486conditionExpression = new TypeRestriction(conditionMemberNode, conditionConstant);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
123return BoolExpression.CreateLiteral(new TypeRestriction(new MemberProjectedSlot(path),
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (2)
192nullCondition = BoolExpression.CreateLiteral(new TypeRestriction(new MemberProjectedSlot(childPath), 212BoolExpression typeCondition = BoolExpression.CreateLiteral(new TypeRestriction(new MemberProjectedSlot(currentPath), typeDomain), domainMap);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
326domainQueryCondition = BoolExpression.CreateLiteral(new TypeRestriction(new MemberProjectedSlot(_extentPath), typeDomain), _domainMap);
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (3)
63BoolLiteral newLiteral = new TypeRestriction(RestrictedMemberSlot, new Domain(range, possibleValues)); 70return new TypeRestriction(newVar, this.Domain); 76return new TypeRestriction(this.RestrictedMemberSlot, new Domain(this.Domain.Values, possibleValues));
4 references to TypeRestriction
System.Data.Entity (4)
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (1)
297return this.MemberRestrictions.All(var => (var is TypeRestriction));
System\Data\Mapping\ViewGeneration\Structures\BoolExpressionVisitors.cs (1)
469if (literal is ScalarRestriction || literal is TypeRestriction)
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
90Debug.Assert(condition is ScalarRestriction || condition is TypeRestriction,
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (1)
243bool isTypeConstant = this is TypeRestriction;