41 references to Domain
System.Data.Entity (41)
System\Data\Mapping\ViewGeneration\CellCreator.cs (3)
106
.Where(restriction => restriction.
Domain
.Values.Contains(Constant.NotNull))
216
.Where(restriction => restriction.
Domain
.Values.Contains(negatedCondition)).Any()
219
.Where(restriction => restriction.
Domain
.Values.Contains(negatedCondition)).Any())
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
179
foreach (Constant constant in oneOf.
Domain
.Values)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
123
Domain conditionValues = variableCondition.
Domain
;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (4)
324
if (restriction.
Domain
.ContainsNotNull())
690
!scalarConst.
Domain
.Contains(Constant.Null) &&
691
!scalarConst.
Domain
.Contains(Constant.NotNull) &&
692
!scalarConst.
Domain
.Contains(Constant.Undefined);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (2)
356
cDomain.AddRange(restriction.
Domain
.Values.Where(c => !(c.Equals(Constant.Null) || c.Equals(Constant.NotNull))));
470
.Select(restriction => new CellConstantSet(restriction.
Domain
.Values, Constant.EqualityComparer));
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (2)
105
if (condition.
Domain
.Values.All(conditionConstant => (conditionConstant.Equals(Constant.NotNull))))
120
if (domainValues.Count <= 0 || (!domainValues.Contains(Constant.Null) && condition.
Domain
.Values.Contains(Constant.Null)))
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (4)
34
/// "Partial" means that the <see cref="
Domain
"/> in this restriction is partial - hence the operations on the restriction are limited.
209
foreach (Constant constant in
Domain
.Values)
226
foreach (Constant constant in
Domain
.Values)
237
constants = new Set<Constant>(
Domain
.Values, Constant.EqualityComparer);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (7)
71
return new ScalarRestriction(newVar, this.
Domain
);
77
return new ScalarRestriction(this.RestrictedMemberSlot, new Domain(this.
Domain
.Values, possibleValues));
269
Debug.Assert(this.
Domain
.Values.Count(c => c is NegatedConstant) <= 1, "Multiple negated constants?");
270
NegatedConstant negated = (NegatedConstant)this.
Domain
.Values.FirstOrDefault(c => c is NegatedConstant);
273
negatedConstantAsCql(negated, this.
Domain
.Values);
288
Set<Constant> domainValues = new Set<Constant>(this.
Domain
.Values, Constant.EqualityComparer);
335
StringUtil.ToCommaSeparatedStringSorted(builder,
Domain
.Values);
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (12)
70
return new TypeRestriction(newVar, this.
Domain
);
76
return new TypeRestriction(this.RestrictedMemberSlot, new Domain(this.
Domain
.Values, possibleValues));
84
if (this.
Domain
.Count > 1)
90
foreach (Constant constant in this.
Domain
.Values)
124
if (
Domain
.Count > 1)
141
if (this.
Domain
.Count == 1)
144
cqt = cqt.IsOfOnly(TypeUsage.Create(((TypeConstant)this.
Domain
.Values.Single()).EdmType));
149
List<DbExpression> operands = this.
Domain
.Values.Select(t => (DbExpression)cqt.IsOfOnly(TypeUsage.Create(((TypeConstant)t).EdmType))).ToList();
172
if (
Domain
.Count > 1)
182
foreach (Constant constant in
Domain
.Values)
204
if (
Domain
.Count > 1)
236
StringUtil.ToCommaSeparatedStringSorted(builder,
Domain
.Values);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (5)
98
foreach (var cellConst in restriction.
Domain
.Values)
127
if (condition.
Domain
.Values.Contains(Constant.NotNull))
133
foreach (NegatedConstant negatedConst in condition.
Domain
.Values.Select(cellConstant => cellConstant as NegatedConstant).Where(negated => negated != null))
241
foreach (var element in condition.
Domain
.Values)
609
foreach (var cellConst in restriction.
Domain
.Values)