本文整理汇总了C#中Eme.Model.Eme.EmeEntities.GetSAStudentsStudyProgressDetail方法的典型用法代码示例。如果您正苦于以下问题:C# EmeEntities.GetSAStudentsStudyProgressDetail方法的具体用法?C# EmeEntities.GetSAStudentsStudyProgressDetail怎么用?C# EmeEntities.GetSAStudentsStudyProgressDetail使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Eme.Model.Eme.EmeEntities
的用法示例。
在下文中一共展示了EmeEntities.GetSAStudentsStudyProgressDetail方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetSAStudentsStudyProgressStat
/// <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> GetSAStudentsStudyProgressStat(int? branchId, int saId, DateTime searchDate, string productSCode, decimal rateCourses)
{
using (var edb = new EmeEntities(dbRead))
{
return edb.GetSAStudentsStudyProgressDetail(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,
LastStudyDate = p.LastStudyDate,
OprDate = p.OprDate,
ProductSCode = productSCode,
RateCourses = rateCourses,
BranchId = branchId
}).ToList();
}
}