示例#1
0
        /// <summary>
        /// Create a new CategoryMaster object.
        /// </summary>
        /// <param name="categoryIndex">Initial value of CategoryIndex.</param>
        /// <param name="category">Initial value of Category.</param>
        public static CategoryMaster CreateCategoryMaster(global::System.Int32 categoryIndex, global::System.String category)
        {
            CategoryMaster categoryMaster = new CategoryMaster();

            categoryMaster.CategoryIndex = categoryIndex;
            categoryMaster.Category      = category;
            return(categoryMaster);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CategoryMasters EntitySet.
 /// </summary>
 public void AddToCategoryMasters(CategoryMaster categoryMaster)
 {
     base.AddObject("CategoryMasters", categoryMaster);
 }