/// <summary> /// Deprecated Method for adding a new object to the CategoriesDes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCategoriesDes(CategoriesDe categoriesDe) { base.AddObject("CategoriesDes", categoriesDe); }
/// <summary> /// Create a new CategoriesDe object. /// </summary> /// <param name="categoryID">Initial value of the CategoryID property.</param> /// <param name="categoryName">Initial value of the CategoryName property.</param> public static CategoriesDe CreateCategoriesDe(global::System.Int32 categoryID, global::System.String categoryName) { CategoriesDe categoriesDe = new CategoriesDe(); categoriesDe.CategoryID = categoryID; categoriesDe.CategoryName = categoryName; return categoriesDe; }