public GenericRepository(HistoryDbContext context) { _context = context; dbSet = _context.Set <T>(); }
public GenericRepository(HistoryDbContext context, IDataShaper <T> dataShaper) { _context = context; dbSet = _context.Set <T>(); _dataShaper = dataShaper; }
public BaseRepository(HistoryDbContext context) { this.context = context; table = context.Set <T>(); }