Breeze Offline Mode Issues
问题 UPDATE: Here is a plnkr to illustrate the problem http://plnkr.co/edit/bwQL3o?p=preview Scenario in offline mode You create an entity and store it in the localstorage Breeze generates a tempKey: EmployeeId: -1 and populates a tempKeys array with the EmployeeId: -1 . Every thing is all good and great. Later on, (the application was terminated the device was turned off...) you import the stored data and create a new entity. So Breeze loads the stored data sees the TempKeys of EmployeeId: -1 and