/// <summary> /// Create a new Page object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="chapter_id">Initial value of the chapter_id property.</param> /// <param name="contents">Initial value of the contents property.</param> /// <param name="number">Initial value of the number property.</param> public static Page CreatePage(global::System.Int32 id, global::System.Int32 chapter_id, global::System.String contents, global::System.Int32 number) { Page page = new Page(); page.id = id; page.chapter_id = chapter_id; page.contents = contents; page.number = number; 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); }