/// <summary> /// Deprecated Method for adding a new object to the WebPageSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWebPageSet(WebPage webPage) { base.AddObject("WebPageSet", webPage); }
/// <summary> /// Create a new WebPage object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="webSiteId">Initial value of the WebSiteId property.</param> public static WebPage CreateWebPage(global::System.Int32 id, global::System.Int32 webSiteId) { WebPage webPage = new WebPage(); webPage.Id = id; webPage.WebSiteId = webSiteId; return webPage; }