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