/// <summary> /// Deprecated Method for adding a new object to the post_category EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTopost_category(post_category post_category) { base.AddObject("post_category", post_category); }
/// <summary> /// Create a new post_category object. /// </summary> /// <param name="cat_id">Initial value of the cat_id property.</param> /// <param name="cat_name">Initial value of the cat_name property.</param> public static post_category Createpost_category(global::System.String cat_id, global::System.String cat_name) { post_category post_category = new post_category(); post_category.cat_id = cat_id; post_category.cat_name = cat_name; return post_category; }