/// <summary> /// Deprecated Method for adding a new object to the VC_News_Category EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVC_News_Category(VC_News_Category vC_News_Category) { base.AddObject("VC_News_Category", vC_News_Category); }
/// <summary> /// Create a new VC_News_Category object. /// </summary> /// <param name="newsCategory_Id">Initial value of the NewsCategory_Id property.</param> /// <param name="categoryName">Initial value of the CategoryName property.</param> /// <param name="created_TS">Initial value of the Created_TS property.</param> /// <param name="updated_TS">Initial value of the Updated_TS property.</param> public static VC_News_Category CreateVC_News_Category(global::System.Int32 newsCategory_Id, global::System.String categoryName, global::System.DateTime created_TS, global::System.DateTime updated_TS) { VC_News_Category vC_News_Category = new VC_News_Category(); vC_News_Category.NewsCategory_Id = newsCategory_Id; vC_News_Category.CategoryName = categoryName; vC_News_Category.Created_TS = created_TS; vC_News_Category.Updated_TS = updated_TS; return vC_News_Category; }