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