breeze-client / ITempKeyMap
Interface: ITempKeyMap
Defined in: src/manager/entity-manager.ts:294
Maps each temporary key in a bundle imported by EntityManager.importEntities to the temporary key its entity was given in the importing manager. Returned as ImportResult.tempKeyMapping.
Each property name is an old key in its EntityKey.toString form - the entity type's qualified name, a hyphen and the key value, such as "Order:#Northwind.Models--1" for the key -1 - and its value is the new EntityKey. Both are temporary: the entity is still unsaved, and gets its permanent key when it is saved. The new key keeps the old value unless this manager's KeyGenerator has already handed that value out.
With ImportConfig.mergeAdds set, imported entities keep their old keys and this map does not describe them.
Indexable
[
index:string]:EntityKey