public function all()
    {
        $events = $this->_entity->getEventManager();
        $event = new SelectEvent(
            [
                'sqlQuery' => &$this,
                'params' => [],
                'action' => SelectEvent::FIND_ALL,
                'singleItem' => false
            ]
        );
        $events->trigger(SelectEvent::BEFORE_SELECT, $this->_entity, $event);
        $result = parent::all();
        $event->data = $result;
        $events->trigger(SelectEvent::AFTER_SELECT, $this->_entity, $event);
        $class = $this->_entity->getClassName();
        $recordList = new RecordList();
        foreach ($event->data as $row) {
            $recordList[] = new $class($row);
        }
        return $recordList;
    }