/// <summary> /// Deprecated Method for adding a new object to the RoundScore EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRoundScore(RoundScore roundScore) { base.AddObject("RoundScore", roundScore); }
/// <summary> /// Create a new RoundScore object. /// </summary> /// <param name="roundScoreId">Initial value of the RoundScoreId property.</param> /// <param name="roundId">Initial value of the RoundId property.</param> /// <param name="holeId">Initial value of the HoleId property.</param> public static RoundScore CreateRoundScore(global::System.Guid roundScoreId, global::System.Guid roundId, global::System.Guid holeId) { RoundScore roundScore = new RoundScore(); roundScore.RoundScoreId = roundScoreId; roundScore.RoundId = roundId; roundScore.HoleId = holeId; return roundScore; }