/// <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 categories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocategories(category category) { base.AddObject("categories", category); }