32 references to Values
System.Data.Entity (32)
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)
128
foreach (Constant value in conditionValues.
Values
)
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (3)
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));
493
result = new CellConstantSet(restrictedDomain.
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 (5)
115
result = MakeTermExpression(this, domain, m_domain.
Values
);
119
result = MakeTermExpression(this, m_domain.AllPossibleValues, m_domain.
Values
);
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 (6)
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 (6)
76
return new TypeRestriction(this.RestrictedMemberSlot, new Domain(this.Domain.
Values
, possibleValues));
90
foreach (Constant constant in this.Domain.
Values
)
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();
182
foreach (Constant constant in Domain.
Values
)
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
)