/// <summary> /// Create a new Page object. /// </summary> /// <param name="pageID">Initial value of the PageID property.</param> /// <param name="originalID">Initial value of the OriginalID property.</param> /// <param name="uRL">Initial value of the URL property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="language">Initial value of the Language property.</param> public static Page CreatePage(global::System.Int32 pageID, global::System.Int32 originalID, global::System.String uRL, global::System.String title, global::System.String text, global::System.String language) { Page page = new Page(); page.PageID = pageID; page.OriginalID = originalID; page.URL = uRL; page.Title = title; page.Text = text; page.Language = language; return page; }
/// <summary> /// Deprecated Method for adding a new object to the Pages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPages(Page page) { base.AddObject("Pages", page); }