public async Task <IEnumerable <TObject> > AddRangeAsync(IEnumerable <TObject> t)
        {
            await _context.Set <TObject>().AddRangeAsync(t);

            _context.SaveChanges();
            return(t);
        }
예제 #2
0
 public int Comit()
 {
     return(_dbContext.SaveChanges());
 }