public void AddRange(IEnumerable <TEntity> entities) { _context.Set <TEntity>().AddRange(entities); }
// C'tor // public Repository(MondialDbContext context) { _context = context; Set = context.Set <TEntity>(); }
public void AddRange(IEnumerable <TEntity> entities) { _context.Set <TEntity>().AddRange(entities); }
// C'tor // public Repository(MondialDbContext context) { _context = context; Set = context.Set <TEntity>(); }