/// <summary> /// Deprecated Method for adding a new object to the RoundResults EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRoundResults(RoundResult roundResult) { base.AddObject("RoundResults", roundResult); }
/// <summary> /// Create a new RoundResult object. /// </summary> /// <param name="roundId">Initial value of the RoundId property.</param> /// <param name="coderId">Initial value of the CoderId property.</param> /// <param name="division">Initial value of the Division property.</param> /// <param name="points">Initial value of the Points property.</param> /// <param name="isRated">Initial value of the IsRated property.</param> /// <param name="numberOfRatings">Initial value of the NumberOfRatings property.</param> /// <param name="tc_Weight">Initial value of the Tc_Weight property.</param> /// <param name="tc_ExpectedRank">Initial value of the Tc_ExpectedRank property.</param> /// <param name="oldRating">Initial value of the OldRating property.</param> /// <param name="newRating">Initial value of the NewRating property.</param> /// <param name="oldVolatility">Initial value of the OldVolatility property.</param> /// <param name="newVolatility">Initial value of the NewVolatility property.</param> /// <param name="divisionPlace">Initial value of the DivisionPlace property.</param> /// <param name="tc_ActualRank">Initial value of the Tc_ActualRank property.</param> /// <param name="tc_ExpectedPerf">Initial value of the Tc_ExpectedPerf property.</param> /// <param name="tc_ActualPerf">Initial value of the Tc_ActualPerf property.</param> /// <param name="tc_Cap">Initial value of the Tc_Cap property.</param> /// <param name="tc_NewRating">Initial value of the Tc_NewRating property.</param> /// <param name="tc_NewVolatility">Initial value of the Tc_NewVolatility property.</param> /// <param name="tc_KFactor">Initial value of the Tc_KFactor property.</param> /// <param name="tc2_OldRating">Initial value of the Tc2_OldRating property.</param> /// <param name="tc2_NewRating">Initial value of the Tc2_NewRating property.</param> /// <param name="tc2_OldVolatility">Initial value of the Tc2_OldVolatility property.</param> /// <param name="tc2_NewVolatility">Initial value of the Tc2_NewVolatility property.</param> /// <param name="tc2_NumberOfRatings">Initial value of the Tc2_NumberOfRatings property.</param> /// <param name="tc3_OldRating">Initial value of the Tc3_OldRating property.</param> /// <param name="tc3_NewRating">Initial value of the Tc3_NewRating property.</param> /// <param name="tc3_OldVolatility">Initial value of the Tc3_OldVolatility property.</param> /// <param name="tc3_NewVolatility">Initial value of the Tc3_NewVolatility property.</param> /// <param name="tc3_ExpectedRank">Initial value of the Tc3_ExpectedRank property.</param> public static RoundResult CreateRoundResult(global::System.Int32 roundId, global::System.Int32 coderId, global::System.Int32 division, global::System.Double points, global::System.Boolean isRated, global::System.Int32 numberOfRatings, global::System.Double tc_Weight, global::System.Double tc_ExpectedRank, global::System.Int32 oldRating, global::System.Int32 newRating, global::System.Int32 oldVolatility, global::System.Int32 newVolatility, global::System.Int32 divisionPlace, global::System.Double tc_ActualRank, global::System.Double tc_ExpectedPerf, global::System.Double tc_ActualPerf, global::System.Double tc_Cap, global::System.Int32 tc_NewRating, global::System.Int32 tc_NewVolatility, global::System.Double tc_KFactor, global::System.Int32 tc2_OldRating, global::System.Int32 tc2_NewRating, global::System.Int32 tc2_OldVolatility, global::System.Int32 tc2_NewVolatility, global::System.Int32 tc2_NumberOfRatings, global::System.Int32 tc3_OldRating, global::System.Int32 tc3_NewRating, global::System.Int32 tc3_OldVolatility, global::System.Int32 tc3_NewVolatility, global::System.Double tc3_ExpectedRank) { RoundResult roundResult = new RoundResult(); roundResult.RoundId = roundId; roundResult.CoderId = coderId; roundResult.Division = division; roundResult.Points = points; roundResult.IsRated = isRated; roundResult.NumberOfRatings = numberOfRatings; roundResult.Tc_Weight = tc_Weight; roundResult.Tc_ExpectedRank = tc_ExpectedRank; roundResult.OldRating = oldRating; roundResult.NewRating = newRating; roundResult.OldVolatility = oldVolatility; roundResult.NewVolatility = newVolatility; roundResult.DivisionPlace = divisionPlace; roundResult.Tc_ActualRank = tc_ActualRank; roundResult.Tc_ExpectedPerf = tc_ExpectedPerf; roundResult.Tc_ActualPerf = tc_ActualPerf; roundResult.Tc_Cap = tc_Cap; roundResult.Tc_NewRating = tc_NewRating; roundResult.Tc_NewVolatility = tc_NewVolatility; roundResult.Tc_KFactor = tc_KFactor; roundResult.Tc2_OldRating = tc2_OldRating; roundResult.Tc2_NewRating = tc2_NewRating; roundResult.Tc2_OldVolatility = tc2_OldVolatility; roundResult.Tc2_NewVolatility = tc2_NewVolatility; roundResult.Tc2_NumberOfRatings = tc2_NumberOfRatings; roundResult.Tc3_OldRating = tc3_OldRating; roundResult.Tc3_NewRating = tc3_NewRating; roundResult.Tc3_OldVolatility = tc3_OldVolatility; roundResult.Tc3_NewVolatility = tc3_NewVolatility; roundResult.Tc3_ExpectedRank = tc3_ExpectedRank; return roundResult; }