Releases all entities held by this Unit Of Work (i.e., removes state
        information from all registered entities and clears the entity map).

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