Пример #1
0
 /// <summary>
 /// Create a new SeatDetail object.
 /// </summary>
 /// <param name="bookingID">Initial value of the BookingID property.</param>
 /// <param name="seatID">Initial value of the SeatID property.</param>
 public static SeatDetail CreateSeatDetail(global::System.Int32 bookingID, global::System.Int32 seatID)
 {
     SeatDetail seatDetail = new SeatDetail();
     seatDetail.BookingID = bookingID;
     seatDetail.SeatID = seatID;
     return seatDetail;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SeatDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSeatDetails(SeatDetail seatDetail)
 {
     base.AddObject("SeatDetails", seatDetail);
 }