Breezejs EntityManager MetadataStore and fetchEntityByKey
问题 I have a SPA application (durandaljs), and I have a specific route where I map the "id" of the entity that I want to fetch. The template is "/#/todoDetail/:id". For example, "/#/todoDetail/232" or "/#/todoDetail/19". On the activate function of viewmodel, I get the route info so I can grab the id. Then I create a new instance of breezejs EntityManager to get the entity with the given id. The problem is when I call manager.fetchEntityByKey("Todos", id), the EntityManager doesn't have yet the