/// <summary> /// Deprecated Method for adding a new object to the Rounds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRounds(Round round) { base.AddObject("Rounds", round); }
/// <summary> /// Create a new Round object. /// </summary> /// <param name="roundId">Initial value of the RoundId property.</param> /// <param name="bracketId">Initial value of the BracketId property.</param> /// <param name="roundNumber">Initial value of the RoundNumber property.</param> public static Round CreateRound(global::System.Int32 roundId, global::System.Int32 bracketId, global::System.Int32 roundNumber) { Round round = new Round(); round.RoundId = roundId; round.BracketId = bracketId; round.RoundNumber = roundNumber; return round; }