protected EntityFrameworkCoreReadOnlyRepository( EntityFrameworkCoreRepositoryService <TDbContext> entityFrameworkCoreRepositoryService) { EntityFrameworkCoreRepositoryService = entityFrameworkCoreRepositoryService; DbSet = EntityFrameworkCoreRepositoryService.DbSet <TEntity>(); }