/// <summary>
 /// Create a new BookOfDay object.
 /// </summary>
 /// <param name="day">Initial value of the Day property.</param>
 /// <param name="bookID">Initial value of the BookID property.</param>
 public static BookOfDay CreateBookOfDay(global::System.DateTime day, global::System.Int32 bookID)
 {
     BookOfDay bookOfDay = new BookOfDay();
     bookOfDay.Day = day;
     bookOfDay.BookID = bookID;
     return bookOfDay;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the BookOfDays EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBookOfDays(BookOfDay bookOfDay)
 {
     base.AddObject("BookOfDays", bookOfDay);
 }