/// <summary> /// Create a new OnlineCourse object. /// </summary> /// <param name="courseID">Initial value of the CourseID property.</param> /// <param name="uRL">Initial value of the URL property.</param> public static OnlineCourse CreateOnlineCourse(global::System.Int32 courseID, global::System.String uRL) { OnlineCourse onlineCourse = new OnlineCourse(); onlineCourse.CourseID = courseID; onlineCourse.URL = uRL; return onlineCourse; }
/// <summary> /// Deprecated Method for adding a new object to the OnlineCourse EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOnlineCourse(OnlineCourse onlineCourse) { base.AddObject("OnlineCourse", onlineCourse); }