Beispiel #1
0
 public UnitOfWork(DemoContext context)
 {
     _context = context;
 }
 public GenericRepository(DemoContext context)
 {
     Context = context;
     DbSet   = Context.Set <T>();
 }
Beispiel #3
0
 public StudentRepository(DemoContext context) : base(context)
 {
 }