/// <summary> /// Deprecated Method for adding a new object to the Achievements EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAchievements(Achievement achievement) { base.AddObject("Achievements", achievement); }
/// <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; }