code: def reset(self):
          
          for ents in self.__entity_set_map.values():
              for ent in ents:
                  EntityState.release(ent, self)
          self.__entity_set_map.clear()
docs: Releases all entities held by this Unit Of Work (i.e., removes state
          information from all registered entities and clears the entity map).