コード例 #1
0
 public List <TimeslotsWeight> GetTimeslotsWeight()
 {
     using (var db = new ScheduleKSTUContext())
     {
         return(db.Set <TimeslotsWeight>().FromSql("dbo.GetTimeslotsWeight").AsNoTracking().ToList());
     }
 }
コード例 #2
0
 public List <TableWeight> GetSubjectClassWeight()
 {
     using (var db = new ScheduleKSTUContext())
     {
         return(db.Set <TableWeight>().FromSql("dbo.GetSubjectClassWeight").AsNoTracking().ToList());
     }
 }