/// <summary>
 /// Create a new book object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="isbn">Initial value of the Isbn property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="publicationDate">Initial value of the PublicationDate property.</param>
 /// <param name="insertionDate">Initial value of the InsertionDate property.</param>
 /// <param name="available">Initial value of the Available property.</param>
 /// <param name="publisherID">Initial value of the PublisherID property.</param>
 /// <param name="departmentID">Initial value of the DepartmentID property.</param>
 /// <param name="addedBy">Initial value of the AddedBy property.</param>
 public static book Createbook(global::System.Int32 id, global::System.String isbn, global::System.String title, global::System.DateTime publicationDate, global::System.DateTime insertionDate, global::System.Boolean available, global::System.Int32 publisherID, global::System.Int32 departmentID, global::System.Int32 addedBy)
 {
     book book = new book();
     book.Id = id;
     book.Isbn = isbn;
     book.Title = title;
     book.PublicationDate = publicationDate;
     book.InsertionDate = insertionDate;
     book.Available = available;
     book.PublisherID = publisherID;
     book.DepartmentID = departmentID;
     book.AddedBy = addedBy;
     return book;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the books EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobooks(book book)
 {
     base.AddObject("books", book);
 }