18 references to EqualityComparer
System.Data.Entity (18)
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
210
KeyToListMap<MemberProjectedSlot, int> slotMap = new KeyToListMap<MemberProjectedSlot, int>(ProjectedSlot.
EqualityComparer
);
561
if (MemberProjectedSlot.
EqualityComparer
.Equals(slot, m_projectedSlots[i]))
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (4)
154
if (false == MemberProjectedSlot.
EqualityComparer
.Equals(m_restrictedMemberSlot, rightRestriction.m_restrictedMemberSlot))
167
int result = MemberProjectedSlot.
EqualityComparer
.GetHashCode(m_restrictedMemberSlot);
186
return MemberProjectedSlot.
EqualityComparer
.Equals(m_restrictedMemberSlot, rightOneOfConst.m_restrictedMemberSlot);
194
int result = MemberProjectedSlot.
EqualityComparer
.GetHashCode(m_restrictedMemberSlot);
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (3)
43
return
EqualityComparer
.Equals(this, right);
58
return
EqualityComparer
.GetHashCode(this);
144
false ==
EqualityComparer
.Equals(memberSlot1, memberSlot2))
System\Data\Mapping\ViewGeneration\Validation\BasicKeyConstraint.cs (1)
26
: base(relation, keySlots, ProjectedSlot.
EqualityComparer
)
System\Data\Mapping\ViewGeneration\Validation\ViewCellRelation.cs (2)
69
if (ProjectedSlot.
EqualityComparer
.Equals(slot, viewSlot.CSlot) ||
70
ProjectedSlot.
EqualityComparer
.Equals(slot, viewSlot.SSlot))
System\Data\Mapping\ViewGeneration\Validation\ViewCellSlot.cs (4)
72
MemberProjectedSlot.
EqualityComparer
.Equals(m_cSlot, rightSlot.m_cSlot) &&
73
MemberProjectedSlot.
EqualityComparer
.Equals(m_sSlot, rightSlot.m_sSlot);
78
return MemberProjectedSlot.
EqualityComparer
.GetHashCode(m_cSlot) ^
79
MemberProjectedSlot.
EqualityComparer
.GetHashCode(m_sSlot) ^
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (2)
28
base(relation, keySlots, ProjectedSlot.
EqualityComparer
)
69
if (ProjectedSlot.
EqualityComparer
.Equals(firstSlot.SSlot, secondSlot.SSlot))