예제 #1
0
        /// <summary>
        /// Create a new CourseList object.
        /// </summary>
        /// <param name="courseID">Initial value of the CourseID property.</param>
        /// <param name="courseName">Initial value of the CourseName property.</param>
        public static CourseList CreateCourseList(global::System.Int32 courseID, global::System.String courseName)
        {
            CourseList courseList = new CourseList();

            courseList.CourseID   = courseID;
            courseList.CourseName = courseName;
            return(courseList);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CourseLists EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCourseLists(CourseList courseList)
 {
     base.AddObject("CourseLists", courseList);
 }