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)
179foreach (Constant constant in oneOf.Domain.Values)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
128foreach (Constant value in conditionValues.Values)
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (3)
356cDomain.AddRange(restriction.Domain.Values.Where(c => !(c.Equals(Constant.Null) || c.Equals(Constant.NotNull)))); 470.Select(restriction => new CellConstantSet(restriction.Domain.Values, Constant.EqualityComparer)); 493result = new CellConstantSet(restrictedDomain.Values, Constant.EqualityComparer);
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (2)
105if (condition.Domain.Values.All(conditionConstant => (conditionConstant.Equals(Constant.NotNull)))) 120if (domainValues.Count <= 0 || (!domainValues.Contains(Constant.Null) && condition.Domain.Values.Contains(Constant.Null)))
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (5)
115result = MakeTermExpression(this, domain, m_domain.Values); 119result = MakeTermExpression(this, m_domain.AllPossibleValues, m_domain.Values); 209foreach (Constant constant in Domain.Values) 226foreach (Constant constant in Domain.Values) 237constants = new Set<Constant>(Domain.Values, Constant.EqualityComparer);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (6)
77return new ScalarRestriction(this.RestrictedMemberSlot, new Domain(this.Domain.Values, possibleValues)); 269Debug.Assert(this.Domain.Values.Count(c => c is NegatedConstant) <= 1, "Multiple negated constants?"); 270NegatedConstant negated = (NegatedConstant)this.Domain.Values.FirstOrDefault(c => c is NegatedConstant); 273negatedConstantAsCql(negated, this.Domain.Values); 288Set<Constant> domainValues = new Set<Constant>(this.Domain.Values, Constant.EqualityComparer); 335StringUtil.ToCommaSeparatedStringSorted(builder, Domain.Values);
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (6)
76return new TypeRestriction(this.RestrictedMemberSlot, new Domain(this.Domain.Values, possibleValues)); 90foreach (Constant constant in this.Domain.Values) 144cqt = cqt.IsOfOnly(TypeUsage.Create(((TypeConstant)this.Domain.Values.Single()).EdmType)); 149List<DbExpression> operands = this.Domain.Values.Select(t => (DbExpression)cqt.IsOfOnly(TypeUsage.Create(((TypeConstant)t).EdmType))).ToList(); 182foreach (Constant constant in Domain.Values) 236StringUtil.ToCommaSeparatedStringSorted(builder, Domain.Values);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (5)
98foreach (var cellConst in restriction.Domain.Values) 127if (condition.Domain.Values.Contains(Constant.NotNull)) 133foreach (NegatedConstant negatedConst in condition.Domain.Values.Select(cellConstant => cellConstant as NegatedConstant).Where(negated => negated != null)) 241foreach (var element in condition.Domain.Values) 609foreach (var cellConst in restriction.Domain.Values)