コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ClientBooksReservation EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClientBooksReservation(ClientBooksReservation clientBooksReservation)
 {
     base.AddObject("ClientBooksReservation", clientBooksReservation);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ClientBooksReservation object.
 /// </summary>
 /// <param name="clientID">Initial value of the ClientID property.</param>
 /// <param name="bookID">Initial value of the BookID property.</param>
 public static ClientBooksReservation CreateClientBooksReservation(global::System.Int32 clientID, global::System.Int32 bookID)
 {
     ClientBooksReservation clientBooksReservation = new ClientBooksReservation();
     clientBooksReservation.ClientID = clientID;
     clientBooksReservation.BookID = bookID;
     return clientBooksReservation;
 }