protected function ConstructRepository($EntityType) { return new Repository($this->DomainDatabaseMap, $this->FunctionToASTConverter, $EntityType); }