Beispiel #1
0
 public DepartmentRepository(UniversityEntities context)
 {
     this.context = context;
     this.dbSet   = context.Set <Department>();
 }
 public StudentRepository(UniversityEntities context)
 {
     this.context = context;
     this.dbSet   = context.Set <Student>();
 }
Beispiel #3
0
 public NewsRepository(UniversityEntities context)
 {
     this.context = context;
     this.dbSet   = context.Set <News>();
 }