/// <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); }
/// <summary> /// Create a new category object. /// </summary> /// <param name="category_id">Initial value of the category_id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="last_update">Initial value of the last_update property.</param> public static category Createcategory(global::System.Byte category_id, global::System.String name, global::System.DateTime last_update) { category category = new category(); category.category_id = category_id; category.name = name; category.last_update = last_update; return category; }