示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ReservationsBuyed EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReservationsBuyed(ReservationsBuyed reservationsBuyed)
 {
     base.AddObject("ReservationsBuyed", reservationsBuyed);
 }
示例#2
0
 /// <summary>
 /// Create a new ReservationsBuyed object.
 /// </summary>
 /// <param name="idReservation">Initial value of the IdReservation property.</param>
 /// <param name="idPaymentMethod">Initial value of the IdPaymentMethod property.</param>
 /// <param name="transactionNumber">Initial value of the TransactionNumber property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 public static ReservationsBuyed CreateReservationsBuyed(global::System.Int32 idReservation, global::System.Int32 idPaymentMethod, global::System.Int32 transactionNumber, global::System.Int32 id)
 {
     ReservationsBuyed reservationsBuyed = new ReservationsBuyed();
     reservationsBuyed.IdReservation = idReservation;
     reservationsBuyed.IdPaymentMethod = idPaymentMethod;
     reservationsBuyed.TransactionNumber = transactionNumber;
     reservationsBuyed.Id = id;
     return reservationsBuyed;
 }