public ReadOnlyRepository(IDbDataProvider dataProvider) { this.context = dataProvider.AsQueryable <T>(); }