public function loadDataSourceFor(string $entityType) : IEntitySet
    {
        $mapper = $this->orm->getEntityMapper($entityType);

        return new DbRepository($this->connection, $mapper);
    }
public function loadDataSourceFor(string $entityType) : IEntitySet
    {
        $mapper = $this->orm->getEntityMapper($entityType);

        return new DbRepository($this->connection, $mapper);
    }
public function loadDataSourceFor ( string $ entityType ) : IEntitySet { $ mapper = $ this -> orm -> getEntityMapper ( $ entityType ) ; return new DbRepository ( $ this -> connection , $ mapper ) ; }
Loads the data source for the supplied entity type.

@param string $entityType

@return IEntitySet
Loads the data source for the supplied entity type .