getEntities(['serverinfo_uid' => $serverEntity->getPK()]) as $serverPartEntity) { parent::delete($serverPartEntity); } return $serverEntity; } }