/// <summary> /// Deprecated Method for adding a new object to the ClientsBooks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClientsBooks(ClientsBook clientsBook) { base.AddObject("ClientsBooks", clientsBook); }
/// <summary> /// Create a new ClientsBook object. /// </summary> /// <param name="clientID">Initial value of the ClientID property.</param> /// <param name="bookID">Initial value of the BookID property.</param> /// <param name="dateLoaned">Initial value of the DateLoaned property.</param> /// <param name="dateReturned">Initial value of the DateReturned property.</param> /// <param name="returned">Initial value of the Returned property.</param> /// <param name="reservation">Initial value of the Reservation property.</param> public static ClientsBook CreateClientsBook(global::System.Int32 clientID, global::System.Int32 bookID, global::System.DateTime dateLoaned, global::System.DateTime dateReturned, global::System.Boolean returned, global::System.Boolean reservation) { ClientsBook clientsBook = new ClientsBook(); clientsBook.ClientID = clientID; clientsBook.BookID = bookID; clientsBook.DateLoaned = dateLoaned; clientsBook.DateReturned = dateReturned; clientsBook.Returned = returned; clientsBook.Reservation = reservation; return clientsBook; }