static function getEntityManager($emname)
    {
        $_this = self::getInstance();
        $emname = $_this->buildEntityName($emname);

        $known_manager = $_this->registry->getEntry($emname, 'entityManager');
        if ($known_manager) {
            return $known_manager;
        } else {
    //			$manager = $_this->buildEntityManager($emname);
            $manager = CarteBlanche::getContainer()->get('entity_manager')
                ->getStorageEngine($emname);
            $_this->registry->setEntry($emname, $manager, 'entityManager');
            return $manager;
        }
    }