コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SpecialityAcceptanceStatistics EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSpecialityAcceptanceStatistics(SpecialityAcceptanceStatistic specialityAcceptanceStatistic)
 {
     base.AddObject("SpecialityAcceptanceStatistics", specialityAcceptanceStatistic);
 }
コード例 #2
0
 /// <summary>
 /// Create a new SpecialityAcceptanceStatistic object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="highestScore">Initial value of the HighestScore property.</param>
 /// <param name="lowestScore">Initial value of the LowestScore property.</param>
 /// <param name="averageScore">Initial value of the AverageScore property.</param>
 /// <param name="specialityId">Initial value of the SpecialityId property.</param>
 /// <param name="plannedEnrollNumber">Initial value of the PlannedEnrollNumber property.</param>
 /// <param name="realEnrollNumber">Initial value of the RealEnrollNumber property.</param>
 /// <param name="batch">Initial value of the Batch property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="universityAcceptanceStatisticsId">Initial value of the UniversityAcceptanceStatisticsId property.</param>
 public static SpecialityAcceptanceStatistic CreateSpecialityAcceptanceStatistic(global::System.Int32 id, global::System.Double highestScore, global::System.Double lowestScore, global::System.Double averageScore, global::System.Guid specialityId, global::System.Int32 plannedEnrollNumber, global::System.Int32 realEnrollNumber, global::System.String batch, global::System.Int32 year, global::System.Int32 universityAcceptanceStatisticsId)
 {
     SpecialityAcceptanceStatistic specialityAcceptanceStatistic = new SpecialityAcceptanceStatistic();
     specialityAcceptanceStatistic.Id = id;
     specialityAcceptanceStatistic.HighestScore = highestScore;
     specialityAcceptanceStatistic.LowestScore = lowestScore;
     specialityAcceptanceStatistic.AverageScore = averageScore;
     specialityAcceptanceStatistic.SpecialityId = specialityId;
     specialityAcceptanceStatistic.PlannedEnrollNumber = plannedEnrollNumber;
     specialityAcceptanceStatistic.RealEnrollNumber = realEnrollNumber;
     specialityAcceptanceStatistic.Batch = batch;
     specialityAcceptanceStatistic.Year = year;
     specialityAcceptanceStatistic.UniversityAcceptanceStatisticsId = universityAcceptanceStatisticsId;
     return specialityAcceptanceStatistic;
 }