/// <summary> /// Create a new Course object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="courseReference">Initial value of the CourseReference property.</param> /// <param name="courseTitle">Initial value of the CourseTitle property.</param> /// <param name="courseStatus_Course">Initial value of the CourseStatus_Course property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Course CreateCourse(global::System.Int32 id, global::System.String courseReference, global::System.String courseTitle, global::System.Int32 courseStatus_Course, global::System.Byte[] rowVersion) { Course course = new Course(); course.Id = id; course.CourseReference = courseReference; course.CourseTitle = courseTitle; course.CourseStatus_Course = courseStatus_Course; course.RowVersion = rowVersion; return course; }
/// <summary> /// Deprecated Method for adding a new object to the Courses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCourses(Course course) { base.AddObject("Courses", course); }