Esempio n. 1
0
 public BaseRepository(PCInfoContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     DbSet    = _context.Set <T>();
 }
Esempio n. 2
0
 public PCInfoRepository(PCInfoContext context)
     : base(context)
 {
 }