protected function _getTableEntity($entity = '') {
        /** @var $class \Gcs\Framework\Core\Orm\Entity\Entity */

        $entity = ucfirst(preg_replace_callback("/(?:^|_)([a-z])/", function ($matches) {
            return strtoupper($matches[1]);
        }, $entity));

        $className = '\Orm\Entity\\' . ucfirst($entity);

        if (class_exists($className)) {
            return self::Entity()->$entity();
        }
        else {
            throw new MissingEntityException('The Entity ' . $entity . ' does not exist');
        }
    }