Inheritance: System.Data.Entity.Core.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the BookType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBookType(BookType bookType)
 {
     base.AddObject("BookType", bookType);
 }
 /// <summary>
 /// Create a new BookType object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static BookType CreateBookType(global::System.Int32 id, global::System.String name)
 {
     BookType bookType = new BookType();
     bookType.id = id;
     bookType.name = name;
     return bookType;
 }