예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Achievements EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAchievements(Achievement achievement)
 {
     base.AddObject("Achievements", achievement);
 }
예제 #2
0
 /// <summary>
 /// Create a new Achievement object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Achievement CreateAchievement(global::System.Byte id)
 {
     Achievement achievement = new Achievement();
     achievement.ID = id;
     return achievement;
 }