public function getModel()
    {
        $collection = $this->getCollection();

        /** @var EntityDataModel $model */
        $model = $collection->getModel();
        $model->setEntityManager($this);

        return $model;
    }