private IQueryable<LessonTime> GetOrCreateSchedule()
 {
     for (int i = 0; i < 8; ++i)
     {
         if (!JournalContext.LessonTimes.Any(q => q.Order == i))
         {
             var stubQuarter = new LessonTime { Order = i, StartTime = DateTime.Now };
             JournalContext.LessonTimes.InsertOnSubmit(stubQuarter);
         }
     }
     JournalContext.SubmitChanges();
     return JournalContext.LessonTimes;
 }
 partial void UpdateLessonTime(LessonTime instance);
 partial void DeleteLessonTime(LessonTime instance);
 partial void InsertLessonTime(LessonTime instance);