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

            Set = context.Set <TEntity>();
        }