/// <summary> /// Create a new SeqChapter object. /// </summary> /// <param name="chapterId">Initial value of the ChapterId property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="pageCount">Initial value of the PageCount property.</param> /// <param name="seqBookBookId">Initial value of the SeqBookBookId property.</param> public static SeqChapter CreateSeqChapter(global::System.Int32 chapterId, global::System.String title, global::System.Int32 pageCount, global::System.Int32 seqBookBookId) { SeqChapter seqChapter = new SeqChapter(); seqChapter.ChapterId = chapterId; seqChapter.Title = title; seqChapter.PageCount = pageCount; seqChapter.SeqBookBookId = seqBookBookId; return seqChapter; }
/// <summary> /// Deprecated Method for adding a new object to the SeqChapters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSeqChapters(SeqChapter seqChapter) { base.AddObject("SeqChapters", seqChapter); }