I am keeping local entities in breeze cache, how can i delete them from the cache with out going to the server? in the documentation it states
Deleting an entity You delete an entity by changing its EntityState to “Deleted” like this:
1 someEntity.entityAspect.setDeleted(); // mark for deletion setDeleted does not destroy the object locally nor does it remove the entity from the database. The entity simply remains in cache in its new “Deleted” state … as changed and added entities do. A successful save does delete the entity from the database and remove it from cache.