/// <summary>
 /// Deprecated Method for adding a new object to the SummaryYears EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSummaryYears(SummaryYear summaryYear)
 {
     base.AddObject("SummaryYears", summaryYear);
 }
 /// <summary>
 /// Create a new SummaryYear object.
 /// </summary>
 /// <param name="totalNumberOfClasses">Initial value of the TotalNumberOfClasses property.</param>
 /// <param name="totalNumberOfCounselor">Initial value of the TotalNumberOfCounselor property.</param>
 /// <param name="numOfLectures">Initial value of the NumOfLectures property.</param>
 /// <param name="activityDate">Initial value of the ActivityDate property.</param>
 public static SummaryYear CreateSummaryYear(global::System.Int32 totalNumberOfClasses, global::System.Int32 totalNumberOfCounselor, global::System.Int32 numOfLectures, global::System.Int32 activityDate)
 {
     SummaryYear summaryYear = new SummaryYear();
     summaryYear.TotalNumberOfClasses = totalNumberOfClasses;
     summaryYear.TotalNumberOfCounselor = totalNumberOfCounselor;
     summaryYear.NumOfLectures = numOfLectures;
     summaryYear.ActivityDate = activityDate;
     return summaryYear;
 }