コード例 #1
0
 public List<vWeeklyScheduleByClass> ScheduleViewByClass(int classroomId)
 {
     _entitiesDb = new WeekClassScheduleEntities();
     return _entitiesDb.vWeeklyScheduleByClass.Where(ws => ws.ClassroomId == classroomId).ToList();
 }
コード例 #2
0
 public ClassroomDatalayer()
 {
    _entitiesDb = new WeekClassScheduleEntities();
 }
コード例 #3
0
 public ScheduleDatalayer()
 {
     this._entitiesDb = new WeekClassScheduleEntities();
 }
コード例 #4
0
 public ProfessorDatalayer()
 {
    _entitiesDb = new WeekClassScheduleEntities();
 }