示例#1
0
        /// <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);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AppCategories EntitySet.
 /// </summary>
 public void AddToAppCategories(AppCategory appCategory)
 {
     base.AddObject("AppCategories", appCategory);
 }