/// <summary> /// Create a new Round object. /// </summary> /// <param name="roundId">Initial value of the RoundId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="courseId">Initial value of the CourseId property.</param> public static Round CreateRound(global::System.Guid roundId, global::System.Guid userId, global::System.Guid courseId) { Round round = new Round(); round.RoundId = roundId; round.UserId = userId; round.CourseId = courseId; return round; }
/// <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); }