load data from entity repo.