2 instantiations of DirectionalRelationship
System.Data.Entity (2)
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (2)
109
DirectionalRelationship relationship = new
DirectionalRelationship
(entityKey, fromEnd.CorrespondingAssociationEndMember,
166
DirectionalRelationship relationship = new
DirectionalRelationship
(toEntityKey, fromEnd.CorrespondingAssociationEndMember,
26 references to DirectionalRelationship
System.Data.Entity (26)
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (26)
34
m_existingRelationships = new Dictionary<
DirectionalRelationship
,
DirectionalRelationship
>(EqualityComparer<
DirectionalRelationship
>.Default);
35
m_impliedRelationships = new Dictionary<
DirectionalRelationship
, IEntityStateEntry>(EqualityComparer<
DirectionalRelationship
>.Default);
45
private readonly Dictionary<
DirectionalRelationship
,
DirectionalRelationship
> m_existingRelationships;
50
private readonly Dictionary<
DirectionalRelationship
, IEntityStateEntry> m_impliedRelationships;
109
DirectionalRelationship
relationship = new DirectionalRelationship(entityKey, fromEnd.CorrespondingAssociationEndMember,
166
DirectionalRelationship
relationship = new DirectionalRelationship(toEntityKey, fromEnd.CorrespondingAssociationEndMember,
179
foreach (KeyValuePair<
DirectionalRelationship
, IEntityStateEntry> expected in m_impliedRelationships)
181
DirectionalRelationship
expectedRelationship = expected.Key;
214
foreach (
DirectionalRelationship
actualRelationship in m_existingRelationships.Keys)
277
private int GetDirectionalRelationshipCountDelta(
DirectionalRelationship
expectedRelationship)
280
DirectionalRelationship
existingRelationship;
295
private void AddExistingRelationship(
DirectionalRelationship
relationship)
297
DirectionalRelationship
existingRelationship;
354
private class DirectionalRelationship : IEquatable<
DirectionalRelationship
>
384
private
DirectionalRelationship
_equivalenceSetLinkedListNext;
409
internal void AddToEquivalenceSet(
DirectionalRelationship
other)
414
DirectionalRelationship
currentSuccessor = this._equivalenceSetLinkedListNext;
422
internal IEnumerable<
DirectionalRelationship
> GetEquivalenceSet()
425
DirectionalRelationship
current = this;
442
DirectionalRelationship
current = this;
463
public bool Equals(
DirectionalRelationship
other)
477
return Equals(obj as
DirectionalRelationship
);