示例#1
0
 public UnitOfWork(EscolarDbContext context)
 {
     _context = context;
 }
示例#2
0
 public GenericRepository(EscolarDbContext context)
 {
     _context   = context;
     this.dbSet = _context.Set <T>();
 }