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