15 instantiations of Domain
System.Data.Entity (15)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (2)
124new Domain(domainValue, domainMap.GetDomain(path))), domainMap); 129new Domain(domainValue, domainMap.GetDomain(path))), domainMap);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (3)
188new Domain(ScalarConstant.Undefined, childDomain)), domainMap); 193new Domain(TypeConstant.Undefined, childDomain)), domainMap); 211Domain typeDomain = new Domain(derivedTypes.Select(derivedType => (Constant)new TypeConstant(derivedType)), domainMap.GetDomain(currentPath));
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
325Domain typeDomain = new Domain(GetTypeConstants(derivedTypes), _domainMap.GetDomain(_extentPath));
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (3)
486Domain restrictedDomain = new Domain(domain, possibleValues); 490restrictedDomain = restrictedDomain.Intersect(new Domain(conditionValues, possibleValues)); 504Domain result = new Domain(this);
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (2)
46m_domain = new Domain(values, values); 66: this(slot, new Domain(values, possibleValues))
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (2)
64BoolLiteral newLiteral = new ScalarRestriction(RestrictedMemberSlot, new Domain(range, newPossibleValues)); 77return new ScalarRestriction(this.RestrictedMemberSlot, new Domain(this.Domain.Values, possibleValues));
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (2)
63BoolLiteral newLiteral = new TypeRestriction(RestrictedMemberSlot, new Domain(range, possibleValues)); 76return new TypeRestriction(this.RestrictedMemberSlot, new Domain(this.Domain.Values, possibleValues));
31 references to Domain
System.Data.Entity (31)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
211Domain typeDomain = new Domain(derivedTypes.Select(derivedType => (Constant)new TypeConstant(derivedType)), domainMap.GetDomain(currentPath));
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
123Domain conditionValues = variableCondition.Domain;
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (4)
325Domain typeDomain = new Domain(GetTypeConstants(derivedTypes), _domainMap.GetDomain(_extentPath)); 607bool hasDefaultValue = Domain.TryGetDefaultValueForMemberPath(currentPath, out defaultValue); 684!Domain.TryGetDefaultValueForMemberPath(memberPath, out defaultConstant)) 700Domain.GetDefaultValueForMemberPath(memberPath, new LeftCellWrapper[] { leftCellWrapper }, _config);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (9)
68internal Domain(Domain domain) 201if (!Domain.TryGetDefaultValueForMemberPath(memberPath, out defaultValue)) 226internal bool IsEqualTo(Domain second) 486Domain restrictedDomain = new Domain(domain, possibleValues); 501private Domain Intersect(Domain second) 504Domain result = new Domain(this); 539private static void CheckTwoDomainInvariants(Domain domain1, Domain domain2)
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
149ConstantProjectedSlot defaultValue = new ConstantProjectedSlot(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(), ViewgenContext.Config), memberPath);
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (9)
72domainMap = Domain.ComputeConstantDomainSetsForSlotsInUpdateViews(extentCells, m_edmItemCollection); 76domainMap = Domain.ComputeConstantDomainSetsForSlotsInQueryViews(extentCells, m_edmItemCollection, isValidationEnabled); 97domainValues = Domain.DeriveDomainFromMemberPath(memberPath, edmItemCollection, isValidationEnabled); 147CellConstantSet memberSet = Domain.DeriveDomainFromMemberPath(member, m_edmItemCollection, true /* Regardless of validation, leave the domain unbounded because this is not a condition member */); 152memberSet = Domain.ExpandNegationsInDomain(memberSet, memberSet); 211Set<Constant> completeDomain = Domain.DeriveDomainFromMemberPath(path, m_edmItemCollection, true /* leaveDomainUnbounded */); 245CellConstantSet domain = Domain.DeriveDomainFromMemberPath(member, edmItemCollection, true /* leaveDomainUnbounded */); 306domainMap[path] = Domain.ExpandNegationsInDomain(domainMap[path]); 396m_conditionDomainMap[member] = Domain.ExpandNegationsInDomain(possibleValues, possibleValues);
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (3)
52protected MemberRestriction(MemberProjectedSlot slot, Domain domain) 74private readonly Domain m_domain; 95internal Domain Domain
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (1)
505slot = new ConstantProjectedSlot(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(), ViewgenContext.Config), memberPath);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (1)
50internal ScalarRestriction(MemberProjectedSlot slot, Domain domain)
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (1)
50internal TypeRestriction(MemberProjectedSlot slot, Domain domain)