/// <summary> /// Create a new category object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static category Createcategory(global::System.Int32 id) { category category = new category(); category.ID = id; return category; }
/// <summary> /// Deprecated Method for adding a new object to the category EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocategory(category category) { base.AddObject("category", category); }