Exemplo n.º 1
0
 /// <summary>
 /// 作者:Kylin
 /// 时间:2014.12.31
 /// 描述:老师上课量统计
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="beginDate"></param>
 /// <param name="endDate"></param>
 /// <param name="statType"></param>
 /// <returns></returns>
 public static List<GetTeachingHours_Result> GetTeachingHours(int userId, DateTime beginDate, DateTime endDate, int statType)
 {
     using (var edb = new EmeEntities(dbRead))
     {
         return edb.GetTeachingHours(userId, beginDate, endDate, statType).ToList();
     }
 }