public List<vWeeklyScheduleByClass> ScheduleViewByClass(int classroomId) { _entitiesDb = new WeekClassScheduleEntities(); return _entitiesDb.vWeeklyScheduleByClass.Where(ws => ws.ClassroomId == classroomId).ToList(); }
public ClassroomDatalayer() { _entitiesDb = new WeekClassScheduleEntities(); }
public ScheduleDatalayer() { this._entitiesDb = new WeekClassScheduleEntities(); }
public ProfessorDatalayer() { _entitiesDb = new WeekClassScheduleEntities(); }