src/Shared/EntityFramework/Core/Mapping/Update/Internal/KeyManager.cs
// <summary>
// Given an identifier, returns the canonical identifier for the clique including all identifiers
// with the same value (via referential integrity constraints).
// </summary>
Given an identifier, returns the canonical identifier for the clique including all identifiers
with the same value (via referential integrity constraints).
Given an identifier returns the canonical identifier for the clique including all identifiers with the same value ( via referential integrity constraints ) .
internal int GetCliqueIdentifier(int identifier)
        {
            var partition = _identifiers[identifier].Partition;
            if (null != partition)
            {
                return partition.PartitionId;
            }
            return identifier;
        }
internal int GetCliqueIdentifier ( int identifier ) { var partition = _identifiers [ identifier ] . Partition ; if ( null != partition ) { return partition . PartitionId ; } return identifier ; }
Given an identifier, returns the canonical identifier for the clique including all identifiers
with the same value (via referential integrity constraints).
Given an identifier returns the canonical identifier for the clique including all identifiers with the same value ( via referential integrity constraints ) .
// if there is no explicit (count > 1) partition, the node is its own // partition
identifier
int