Exemplo n.º 1
0
        public static EnrollmentDAO MapToEnrollmentDAO(Enrollment enrollment)
        {
            var e = new EnrollmentDAO();

            e.Id           = enrollment.EnrollmentID;
            e.CourseId     = enrollment.CourseID;
            e.CourseNumber = enrollment.CourseNumber;
            e.StudentId    = enrollment.StudentID;
            e.StartTime    = enrollment.StartTime;

            return(e);
        }
Exemplo n.º 2
0
 public static Enrollment MapToEnrollment(EnrollmentDAO enrollment)
 {
     throw new NotImplementedException();
 }