public function injectVirtualProperties($entity)
    {
        $structure = $this->getEntityStructure($entity);
        if (count($structure->relationProperties) > 0) {
            foreach ($structure->relationProperties as $removeProperty) {
                unset($entity->{$removeProperty});
            }
        }
    }