Esempio n. 1
0
 public UnitOfWork(SWEContext context)
 {
     this.context = context;
     Facultie     = new FacultieRepository(context);
     Department   = new DepartmentRepository(context);
     Professor    = new ProfessorRepository(context);
     Student      = new StudentRepository(context);
     StudentLog   = new StudentLogRepository(context);
     Course       = new CourseRepository(context);
 }
Esempio n. 2
0
 public GUIDRepository(SWEContext context)
 {
     Table   = context.Set <T>();
     Context = context;
 }