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