Exemplo n.º 1
0
 /// <summary>
 /// 实例化<see cref="CourseStudy"/>对象
 /// </summary>
 /// <param name="chapter">课程章节</param>
 /// <param name="student">学员信息</param>
 public CourseStudy(Data.Entity.Users student, Data.Entity.Chapter chapter)
 {
     Chapter = chapter;
     Student = student;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 实例化<see cref="CourseStudy"/>对象
 /// </summary>
 /// <param name="chapter">课程章节</param>
 /// <param name="studentId">学员ID</param>
 public CourseStudy(long studentId, Data.Entity.Chapter chapter)
 {
     Chapter = chapter;
     Student = UsersAccessor.Get(studentId);
 }
Exemplo n.º 3
0
 /// <summary>
 /// 实例化<see cref="CourseStudy"/>对象
 /// </summary>
 /// <param name="studentId">学员ID</param>
 /// <param name="chapterId">学习的课程章节ID</param>
 public CourseStudy(long studentId, long chapterId)
 {
     Chapter = ChapterAccessor.Get(chapterId);
     Student = UsersAccessor.Get(studentId);
 }