/// <summary> /// Create a new Chapter object. /// </summary> /// <param name="chapterID">Initial value of the ChapterID property.</param> public static Chapter CreateChapter(global::System.Int32 chapterID) { Chapter chapter = new Chapter(); chapter.ChapterID = chapterID; return chapter; }
/// <summary> /// Deprecated Method for adding a new object to the Chapters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChapters(Chapter chapter) { base.AddObject("Chapters", chapter); }