24 references to Null
System.Data.Entity (24)
System\Data\Mapping\ViewGeneration\CellCreator.cs (1)
479Constant conditionConstant = (true == conditionMap.IsNull.Value) ? Constant.Null : Constant.NotNull;
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
516domain.Contains(Constant.Null, Constant.EqualityComparer) &&
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
337allowedValues.Add(Constant.Null);
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (2)
208m_elseValue = new ConstantProjectedSlot(Constant.Null, m_memberPath); 276Constant.Null.AsCqt(row, this.MemberPath);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
690!scalarConst.Domain.Contains(Constant.Null) &&
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (4)
123domain.Add(Constant.Null); 184defaultConstant = Constant.Null; 236return negated != null && negated.Contains(Constant.Null); 356cDomain.AddRange(restriction.Domain.Values.Where(c => !(c.Equals(Constant.Null) || c.Equals(Constant.NotNull))));
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (3)
101if (!domainValues.Contains(Constant.Null)) 120if (domainValues.Count <= 0 || (!domainValues.Contains(Constant.Null) && condition.Domain.Values.Contains(Constant.Null)))
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (5)
74return m_negatedDomain.Count == 1 && m_negatedDomain.Contains(Constant.Null); 84/// Returns true if the negated constant contains <see cref="Constant.Null"/>. 88return m_negatedDomain.Contains(Constant.Null); 192bool hasNull = negatedConstants.Contains(Constant.Null); 193negatedConstants.Remove(Constant.Null);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (2)
256new ConstantProjectedSlot(Constant.Null, memberPath), memberPath); 288new ConstantProjectedSlot(Constant.Null, slotInfo.OutputMember), slotInfo.OutputMember);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (2)
291if (domainValues.Contains(Constant.Null)) 294domainValues.Remove(Constant.Null);
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (1)
220yield return Constant.Null;
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
135if (negatedConst.Elements.Contains(Constant.Null))