/// <summary> /// Deprecated Method for adding a new object to the tbl_NewsSection EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_NewsSection(tbl_NewsSection tbl_NewsSection) { base.AddObject("tbl_NewsSection", tbl_NewsSection); }
/// <summary> /// Create a new tbl_NewsSection object. /// </summary> /// <param name="newsSectionID">Initial value of the NewsSectionID property.</param> /// <param name="nS_SiteMapID">Initial value of the NS_SiteMapID property.</param> /// <param name="nS_SectionID">Initial value of the NS_SectionID property.</param> public static tbl_NewsSection Createtbl_NewsSection(global::System.Int32 newsSectionID, global::System.Int32 nS_SiteMapID, global::System.Int32 nS_SectionID) { tbl_NewsSection tbl_NewsSection = new tbl_NewsSection(); tbl_NewsSection.NewsSectionID = newsSectionID; tbl_NewsSection.NS_SiteMapID = nS_SiteMapID; tbl_NewsSection.NS_SectionID = nS_SectionID; return tbl_NewsSection; }