/// <summary> /// Create a new CompetitionsUser object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="competitionId">Initial value of the CompetitionId property.</param> /// <param name="userId">Initial value of the UserId property.</param> public static CompetitionsUser CreateCompetitionsUser(global::System.Int32 id, global::System.Int32 competitionId, global::System.Int32 userId) { CompetitionsUser competitionsUser = new CompetitionsUser(); competitionsUser.ID = id; competitionsUser.CompetitionId = competitionId; competitionsUser.UserId = userId; return competitionsUser; }
/// <summary> /// Deprecated Method for adding a new object to the CompetitionsUsers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompetitionsUsers(CompetitionsUser competitionsUser) { base.AddObject("CompetitionsUsers", competitionsUser); }