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