Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OnlineCourse EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOnlineCourse(OnlineCourse onlineCourse)
 {
     base.AddObject("OnlineCourse", onlineCourse);
 }