예제 #1
0
 public UnitOfWork(StudentsManagamentContext context)
 {
     _context   = context;
     Students   = new StudentRepository(_context);
     Teachers   = new TeacherRepository(_context);
     Activities = new ActivityRepository(_context);
 }
 public TeacherRepository(StudentsManagamentContext context)
     : base(context)
 {
 }
예제 #3
0
 public ActivityRepository(StudentsManagamentContext context)
     : base(context)
 {
 }
예제 #4
0
 public StudentRepository(StudentsManagamentContext context)
     : base(context)
 {
 }