/// <summary> /// Deprecated Method for adding a new object to the Challenges EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChallenges(Challenge challenge) { base.AddObject("Challenges", challenge); }
/// <summary> /// Create a new Challenge object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Challenge CreateChallenge(global::System.Int32 id) { Challenge challenge = new Challenge(); challenge.ID = id; return challenge; }