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