/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the CourseInstances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCourseInstances(CourseInstance courseInstance) { base.AddObject("CourseInstances", courseInstance); }