Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WebPageSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWebPageSet(WebPage webPage)
 {
     base.AddObject("WebPageSet", webPage);
 }
Esempio n. 2
0
 /// <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;
 }