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