/// <summary> /// Deprecated Method for adding a new object to the CurriculumCourses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCurriculumCourses(CurriculumCourse curriculumCourse) { base.AddObject("CurriculumCourses", curriculumCourse); }
/// <summary> /// Create a new CurriculumCourse object. /// </summary> /// <param name="startTime">Initial value of the StartTime property.</param> /// <param name="curriculumCourseID">Initial value of the CurriculumCourseID property.</param> /// <param name="timeUnitTypeID">Initial value of the TimeUnitTypeID property.</param> /// <param name="curriculumCourseCode">Initial value of the CurriculumCourseCode property.</param> /// <param name="title">Initial value of the Title property.</param> public static CurriculumCourse CreateCurriculumCourse(global::System.DateTime startTime, global::System.Int32 curriculumCourseID, global::System.Int32 timeUnitTypeID, global::System.String curriculumCourseCode, global::System.String title) { CurriculumCourse curriculumCourse = new CurriculumCourse(); curriculumCourse.StartTime = startTime; curriculumCourse.CurriculumCourseID = curriculumCourseID; curriculumCourse.TimeUnitTypeID = timeUnitTypeID; curriculumCourse.CurriculumCourseCode = curriculumCourseCode; curriculumCourse.Title = title; return curriculumCourse; }