本文整理汇总了C#中Eme.Model.Eme.EmeEntities.GetStudentStudyProgressDetail方法的典型用法代码示例。如果您正苦于以下问题:C# EmeEntities.GetStudentStudyProgressDetail方法的具体用法?C# EmeEntities.GetStudentStudyProgressDetail怎么用?C# EmeEntities.GetStudentStudyProgressDetail使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Eme.Model.Eme.EmeEntities
的用法示例。
在下文中一共展示了EmeEntities.GetStudentStudyProgressDetail方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetSaSTudentStudyProgressDetailStat
/// <summary>
/// 作者:Kylin
/// 时间:2014.07.31
/// 描述:查询学员学习累积进度详情
/// </summary>
/// <param name="branchId"></param>
/// <param name="saId"></param>
/// <param name="searchDate"></param>
/// <param name="productSCode"></param>
/// <param name="rateCourses"></param>
/// <returns></returns>
public static List<StudentStudyProgressDetail> GetSaSTudentStudyProgressDetailStat(int? branchId, int saId, DateTime searchDate, string productSCode, decimal rateCourses)
{
using (var edb = new EmeEntities(dbRead))
{
return edb.GetStudentStudyProgressDetail(saId, searchDate, productSCode, rateCourses, branchId).Select(p => new StudentStudyProgressDetail()
{
UserId = p.UserId,
UserCName = p.UserCName,
UserEName = p.UserEName,
SAId = p.SAUserId,
ContractBeginDate = p.ContractBeginDate,
CurrentLevel = p.CurrentLevel,
StatusType = p.StatusType,
StudyTotal = p.StudyTotal,
HighStandardNum = p.HighStandardNum,
HighUsualNum = p.HighUsualNum,
LastStudyCourse = p.LastStudyCourse,
LastStudyDate = p.LastStudyDate,
OprDate = p.OprDate,
VIP = p.VIP,
MC = p.MC,
PC = p.PC,
AC = p.AC,
MP = p.MP,
WR = p.WR,
MBG_AC = p.MBG_AC,
MBG_PC = p.MBG_PC,
LMW = p.LMW,
TP = p.TP,
ProductSCode = productSCode,
RateCourses = rateCourses,
BranchId = branchId
}).ToList();
}
}