/// <summary> /// Deprecated Method for adding a new object to the LectureViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLectureViews(LectureView lectureView) { base.AddObject("LectureViews", lectureView); }
/// <summary> /// Create a new LectureView object. /// </summary> /// <param name="activityTopic">Initial value of the ActivityTopic property.</param> /// <param name="numberOfActivities">Initial value of the NumberOfActivities property.</param> /// <param name="numberOfCounselors">Initial value of the NumberOfCounselors property.</param> /// <param name="numberOfClasses">Initial value of the NumberOfClasses property.</param> /// <param name="numberOfRounds">Initial value of the NumberOfRounds property.</param> public static LectureView CreateLectureView(global::System.String activityTopic, global::System.Int32 numberOfActivities, global::System.Int32 numberOfCounselors, global::System.Int32 numberOfClasses, global::System.Int32 numberOfRounds) { LectureView lectureView = new LectureView(); lectureView.ActivityTopic = activityTopic; lectureView.NumberOfActivities = numberOfActivities; lectureView.NumberOfCounselors = numberOfCounselors; lectureView.NumberOfClasses = numberOfClasses; lectureView.NumberOfRounds = numberOfRounds; return lectureView; }