/// <summary> /// Deprecated Method for adding a new object to the AchievementCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAchievementCategories(AchievementCategory achievementCategory) { base.AddObject("AchievementCategories", achievementCategory); }
/// <summary> /// Create a new AchievementCategory object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="description">Initial value of the Description property.</param> public static AchievementCategory CreateAchievementCategory(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String description) { AchievementCategory achievementCategory = new AchievementCategory(); achievementCategory.Id = id; achievementCategory.RowVersion = rowVersion; achievementCategory.Description = description; return achievementCategory; }