Example #1
0
 /// <summary>
 /// Create a new Course object.
 /// </summary>
 /// <param name="courseID">Initial value of the courseID property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="points">Initial value of the points property.</param>
 public static Course CreateCourse(global::System.String courseID, global::System.String name, global::System.Double points)
 {
     Course course = new Course();
     course.courseID = courseID;
     course.name = name;
     course.points = points;
     return course;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Courses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCourses(Course course)
 {
     base.AddObject("Courses", course);
 }