1 write to KeyComponents
System.Data.Entity (1)
System\Data\Mapping\Update\Internal\CompositeKey.cs (1)
38
KeyComponents
= constants;
27 references to KeyComponents
System.Data.Entity (27)
System\Data\Mapping\Update\Internal\CompositeKey.cs (14)
58
Debug.Assert(null != other && other.
KeyComponents
.Length == this.
KeyComponents
.Length, "expected a compatible CompositeKey");
59
PropagatorResult[] mergedKeyValues = new PropagatorResult[this.
KeyComponents
.Length];
60
for (int i = 0; i < this.
KeyComponents
.Length; i++)
62
mergedKeyValues[i] = this.
KeyComponents
[i].Merge(keyManager, other.
KeyComponents
[i]);
90
Debug.Assert(null != left.
KeyComponents
&& null != right.
KeyComponents
,
93
if (left.
KeyComponents
.Length != right.
KeyComponents
.Length) { return false; }
95
for (int i = 0; i < left.
KeyComponents
.Length; i++)
97
PropagatorResult leftValue = left.
KeyComponents
[i];
98
PropagatorResult rightValue = right.
KeyComponents
[i];
130
foreach (PropagatorResult keyComponent in key.
KeyComponents
)
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (5)
408
for (int i = 0; i < leftKey.
KeyComponents
.Length; i++)
410
map[leftKey.
KeyComponents
[i]] = mergedKey.
KeyComponents
[i];
411
map[rightKey.
KeyComponents
[i]] = mergedKey.
KeyComponents
[i];
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.SubstitutingCloneVisitor.cs (3)
85
for (int i = 0; i < placeholderKey.
KeyComponents
.Length; i++)
87
if (placeholderKey.
KeyComponents
[i] == node)
97
return key.
KeyComponents
[keyIndex];
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (5)
213
for (int i = 0; sharedPrincipal && i < key.
KeyComponents
.Length; i++)
215
int identifier1 = key.
KeyComponents
[i].Identifier;
216
int identifier2 = otherKey.
KeyComponents
[i].Identifier;
235
foreach (PropagatorResult keyValue in key.
KeyComponents
.Concat(otherKey.
KeyComponents
))