private void internalizeIds(BundleEntry entry) { Uri local = internalizeKey(entry); Uri history = generator.HistoryKeyFor(local); mapper.Map(entry.Id, local); if (entry.SelfLink != null) { mapper.Map(entry.SelfLink, history); } entry.OverloadKey(local); entry.SelfLink = history; }