예제 #1
0
 /// <summary>
 /// Create a new Chapter object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="title">Initial value of the title property.</param>
 /// <param name="book_id">Initial value of the book_id property.</param>
 public static Chapter CreateChapter(global::System.Int32 id, global::System.String title, global::System.Int32 book_id)
 {
     Chapter chapter = new Chapter();
     chapter.id = id;
     chapter.title = title;
     chapter.book_id = book_id;
     return chapter;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Chapters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChapters(Chapter chapter)
 {
     base.AddObject("Chapters", chapter);
 }