コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MP_ShowReservations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMP_ShowReservations(MP_ShowReservations mP_ShowReservations)
 {
     base.AddObject("MP_ShowReservations", mP_ShowReservations);
 }
コード例 #2
0
 /// <summary>
 /// Create a new MP_ShowReservations object.
 /// </summary>
 /// <param name="reservationId">Initial value of the ReservationId property.</param>
 /// <param name="showId">Initial value of the ShowId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="totalAmount">Initial value of the TotalAmount property.</param>
 /// <param name="reservationDate">Initial value of the ReservationDate property.</param>
 /// <param name="referenceNumber">Initial value of the ReferenceNumber property.</param>
 public static MP_ShowReservations CreateMP_ShowReservations(global::System.Int32 reservationId, global::System.Int32 showId, global::System.String userId, global::System.Decimal totalAmount, global::System.DateTime reservationDate, global::System.String referenceNumber)
 {
     MP_ShowReservations mP_ShowReservations = new MP_ShowReservations();
     mP_ShowReservations.ReservationId = reservationId;
     mP_ShowReservations.ShowId = showId;
     mP_ShowReservations.UserId = userId;
     mP_ShowReservations.TotalAmount = totalAmount;
     mP_ShowReservations.ReservationDate = reservationDate;
     mP_ShowReservations.ReferenceNumber = referenceNumber;
     return mP_ShowReservations;
 }