MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / fixupKeys

Function fixupKeys

CustomerManager/Scripts/breeze.debug.js:14476–14486  ·  view source on GitHub ↗
(em, keyMappings)

Source from the content-addressed store, hash-verified

14474 }
14475
14476 function fixupKeys(em, keyMappings) {
14477 em._inKeyFixup = true;
14478 keyMappings.forEach(function (km) {
14479 var group = em._entityGroupMap[km.entityTypeName];
14480 if (!group) {
14481 throw new Error("Unable to locate the following fully qualified EntityType name: " + km.entityTypeName);
14482 }
14483 group._fixupKey(km.tempValue, km.realValue);
14484 });
14485 em._inKeyFixup = false;
14486 }
14487
14488 function getEntityGroups(em, entityTypes) {
14489 var groupMap = em._entityGroupMap;

Callers 1

processSavedEntitiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected