public GenericRepository(IStudentSystemDBContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }
示例#2
0
 public StudentSystemData(IStudentSystemDBContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }