예제 #1
0
 /// <summary>
 /// Create a new CourseInstance object.
 /// </summary>
 /// <param name="instanceID">Initial value of the instanceID property.</param>
 /// <param name="courseID">Initial value of the courseID property.</param>
 public static CourseInstance CreateCourseInstance(global::System.String instanceID, global::System.String courseID)
 {
     CourseInstance courseInstance = new CourseInstance();
     courseInstance.instanceID = instanceID;
     courseInstance.courseID = courseID;
     return courseInstance;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CourseInstances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCourseInstances(CourseInstance courseInstance)
 {
     base.AddObject("CourseInstances", courseInstance);
 }