コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Ord_TourNoticeHotel EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrd_TourNoticeHotel(Ord_TourNoticeHotel ord_TourNoticeHotel)
 {
     base.AddObject("Ord_TourNoticeHotel", ord_TourNoticeHotel);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Ord_TourNoticeHotel object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="tourID">Initial value of the TourID property.</param>
 /// <param name="checkInDate">Initial value of the CheckInDate property.</param>
 /// <param name="hotelName">Initial value of the HotelName property.</param>
 /// <param name="hotelAddress">Initial value of the HotelAddress property.</param>
 /// <param name="hotelTel">Initial value of the HotelTel property.</param>
 /// <param name="sequenceNumber">Initial value of the SequenceNumber property.</param>
 /// <param name="createTime">Initial value of the CreateTime property.</param>
 /// <param name="modifyTime">Initial value of the ModifyTime property.</param>
 public static Ord_TourNoticeHotel CreateOrd_TourNoticeHotel(global::System.Int32 id, global::System.Int32 tourID, global::System.DateTime checkInDate, global::System.String hotelName, global::System.String hotelAddress, global::System.String hotelTel, global::System.Int32 sequenceNumber, global::System.DateTime createTime, global::System.DateTime modifyTime)
 {
     Ord_TourNoticeHotel ord_TourNoticeHotel = new Ord_TourNoticeHotel();
     ord_TourNoticeHotel.ID = id;
     ord_TourNoticeHotel.TourID = tourID;
     ord_TourNoticeHotel.CheckInDate = checkInDate;
     ord_TourNoticeHotel.HotelName = hotelName;
     ord_TourNoticeHotel.HotelAddress = hotelAddress;
     ord_TourNoticeHotel.HotelTel = hotelTel;
     ord_TourNoticeHotel.SequenceNumber = sequenceNumber;
     ord_TourNoticeHotel.CreateTime = createTime;
     ord_TourNoticeHotel.ModifyTime = modifyTime;
     return ord_TourNoticeHotel;
 }