示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Challenges EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChallenges(Challenge challenge)
 {
     base.AddObject("Challenges", challenge);
 }
示例#2
0
 /// <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;
 }