コード例 #1
0
 /// <summary>
 /// Create a new ApplicationStatistic_DTO 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="totality">Initial value of the Totality property.</param>
 /// <param name="scoreRank">Initial value of the ScoreRank property.</param>
 public static ApplicationStatistic_DTO CreateApplicationStatistic_DTO(global::System.Guid id, global::System.Double highestScore, global::System.Double lowestScore, global::System.Double averageScore, global::System.Int32 totality, global::System.Int32 scoreRank)
 {
     ApplicationStatistic_DTO applicationStatistic_DTO = new ApplicationStatistic_DTO();
     applicationStatistic_DTO.Id = id;
     applicationStatistic_DTO.HighestScore = highestScore;
     applicationStatistic_DTO.LowestScore = lowestScore;
     applicationStatistic_DTO.AverageScore = averageScore;
     applicationStatistic_DTO.Totality = totality;
     applicationStatistic_DTO.ScoreRank = scoreRank;
     return applicationStatistic_DTO;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ApplicationStatistic_DTO EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApplicationStatistic_DTO(ApplicationStatistic_DTO applicationStatistic_DTO)
 {
     base.AddObject("ApplicationStatistic_DTO", applicationStatistic_DTO);
 }