/// <summary>
        /// Create a new CourseStudent object.
        /// </summary>
        /// <param name="personID">Initial value of the PersonID property.</param>
        /// <param name="courseID">Initial value of the CourseID property.</param>
        public static CourseStudent CreateCourseStudent(global::System.Int32 personID, global::System.Int32 courseID)
        {
            CourseStudent courseStudent = new CourseStudent();

            courseStudent.PersonID = personID;
            courseStudent.CourseID = courseID;
            return(courseStudent);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the CourseStudents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCourseStudents(CourseStudent courseStudent)
 {
     base.AddObject("CourseStudents", courseStudent);
 }