/// <summary> /// Deprecated Method for adding a new object to the ReportSchoolViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReportSchoolViews(ReportSchoolView reportSchoolView) { base.AddObject("ReportSchoolViews", reportSchoolView); }
/// <summary> /// Create a new ReportSchoolView object. /// </summary> /// <param name="activityId">Initial value of the ActivityId property.</param> /// <param name="schoolPartId">Initial value of the SchoolPartId property.</param> /// <param name="totalNumberOfClasses">Initial value of the TotalNumberOfClasses property.</param> /// <param name="totalNumberOfCounselor">Initial value of the TotalNumberOfCounselor property.</param> /// <param name="totalNumberOfRounds">Initial value of the TotalNumberOfRounds property.</param> /// <param name="activityDate">Initial value of the ActivityDate property.</param> /// <param name="districtId">Initial value of the DistrictId property.</param> /// <param name="numberOfAssigedCounselor">Initial value of the NumberOfAssigedCounselor property.</param> /// <param name="isMissingCounselors">Initial value of the IsMissingCounselors property.</param> /// <param name="startTime">Initial value of the StartTime property.</param> /// <param name="endTime">Initial value of the EndTime property.</param> public static ReportSchoolView CreateReportSchoolView(global::System.Int32 activityId, global::System.Int32 schoolPartId, global::System.Int32 totalNumberOfClasses, global::System.Int32 totalNumberOfCounselor, global::System.Int32 totalNumberOfRounds, global::System.DateTime activityDate, global::System.Int32 districtId, global::System.Int32 numberOfAssigedCounselor, global::System.Boolean isMissingCounselors, global::System.DateTime startTime, global::System.DateTime endTime) { ReportSchoolView reportSchoolView = new ReportSchoolView(); reportSchoolView.ActivityId = activityId; reportSchoolView.SchoolPartId = schoolPartId; reportSchoolView.TotalNumberOfClasses = totalNumberOfClasses; reportSchoolView.TotalNumberOfCounselor = totalNumberOfCounselor; reportSchoolView.TotalNumberOfRounds = totalNumberOfRounds; reportSchoolView.ActivityDate = activityDate; reportSchoolView.DistrictId = districtId; reportSchoolView.NumberOfAssigedCounselor = numberOfAssigedCounselor; reportSchoolView.IsMissingCounselors = isMissingCounselors; reportSchoolView.StartTime = startTime; reportSchoolView.EndTime = endTime; return reportSchoolView; }