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