예제 #1
0
 public BaseRepository()
 {
     _context = new InventorydbContext();
     _dbSet   = _context.Set <TEntity>();
 }
예제 #2
0
 public BaseRepository(InventoryDBContext context)
 {
     _context = context;
     _dbSet   = context.Set <TEntity>();
 }