コード例 #1
0
 /// <summary>
 /// Create a new Course object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="cGA_MV_KEY">Initial value of the CGA_MV_KEY property.</param>
 /// <param name="cGA_MS_KEY">Initial value of the CGA_MS_KEY property.</param>
 public static Course CreateCourse(global::System.String id, global::System.Int32 cGA_MV_KEY, global::System.Int32 cGA_MS_KEY)
 {
     Course course = new Course();
     course.ID = id;
     course.CGA_MV_KEY = cGA_MV_KEY;
     course.CGA_MS_KEY = cGA_MS_KEY;
     return course;
 }
コード例 #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);
 }