Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ClientsBooks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClientsBooks(ClientsBooks clientsBooks)
 {
     base.AddObject("ClientsBooks", clientsBooks);
 }
Пример #2
0
 /// <summary>
 /// Create a new ClientsBooks 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 ClientsBooks CreateClientsBooks(global::System.Int32 clientID, global::System.Int32 bookID, global::System.DateTime dateLoaned, global::System.DateTime dateReturned, global::System.Boolean returned, global::System.Boolean reservation)
 {
     ClientsBooks clientsBooks = new ClientsBooks();
     clientsBooks.ClientID = clientID;
     clientsBooks.BookID = bookID;
     clientsBooks.DateLoaned = dateLoaned;
     clientsBooks.DateReturned = dateReturned;
     clientsBooks.Returned = returned;
     clientsBooks.Reservation = reservation;
     return clientsBooks;
 }