/// <summary> /// Create a new AppCategory object. /// </summary> /// <param name="iD">Initial value of ID.</param> /// <param name="categoryIndex">Initial value of CategoryIndex.</param> public static AppCategory CreateAppCategory(global::System.Int32 iD, global::System.Int32 categoryIndex) { AppCategory appCategory = new AppCategory(); appCategory.ID = iD; appCategory.CategoryIndex = categoryIndex; return(appCategory); }
/// <summary> /// Deprecated Method for adding a new object to the AppCategories EntitySet. /// </summary> public void AddToAppCategories(AppCategory appCategory) { base.AddObject("AppCategories", appCategory); }