/// <summary> /// Deprecated Method for adding a new object to the Ord_TourNoticeNew EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrd_TourNoticeNew(Ord_TourNoticeNew ord_TourNoticeNew) { base.AddObject("Ord_TourNoticeNew", ord_TourNoticeNew); }
/// <summary> /// Create a new Ord_TourNoticeNew object. /// </summary> /// <param name="noticeID">Initial value of the NoticeID property.</param> /// <param name="tourID">Initial value of the TourID property.</param> /// <param name="noticeType">Initial value of the NoticeType property.</param> /// <param name="startTraffic">Initial value of the StartTraffic property.</param> /// <param name="departureTime">Initial value of the DepartureTime property.</param> /// <param name="destination">Initial value of the Destination property.</param> /// <param name="gatherTime">Initial value of the GatherTime property.</param> /// <param name="departureDate">Initial value of the DepartureDate property.</param> /// <param name="returnDate">Initial value of the ReturnDate property.</param> /// <param name="returnTraffic">Initial value of the ReturnTraffic property.</param> /// <param name="returnTime">Initial value of the ReturnTime property.</param> /// <param name="providerName">Initial value of the ProviderName property.</param> /// <param name="guideContact">Initial value of the GuideContact property.</param> /// <param name="emergencyContact">Initial value of the EmergencyContact property.</param> /// <param name="createTime">Initial value of the CreateTime property.</param> /// <param name="creator">Initial value of the Creator property.</param> /// <param name="returnArrivalFlight">Initial value of the ReturnArrivalFlight property.</param> /// <param name="gatherLocation">Initial value of the GatherLocation property.</param> public static Ord_TourNoticeNew CreateOrd_TourNoticeNew(global::System.Int32 noticeID, global::System.Int32 tourID, global::System.String noticeType, global::System.String startTraffic, global::System.String departureTime, global::System.String destination, global::System.String gatherTime, global::System.DateTime departureDate, global::System.DateTime returnDate, global::System.String returnTraffic, global::System.String returnTime, global::System.String providerName, global::System.String guideContact, global::System.String emergencyContact, global::System.DateTime createTime, global::System.String creator, global::System.String returnArrivalFlight, global::System.String gatherLocation) { Ord_TourNoticeNew ord_TourNoticeNew = new Ord_TourNoticeNew(); ord_TourNoticeNew.NoticeID = noticeID; ord_TourNoticeNew.TourID = tourID; ord_TourNoticeNew.NoticeType = noticeType; ord_TourNoticeNew.StartTraffic = startTraffic; ord_TourNoticeNew.DepartureTime = departureTime; ord_TourNoticeNew.Destination = destination; ord_TourNoticeNew.GatherTime = gatherTime; ord_TourNoticeNew.DepartureDate = departureDate; ord_TourNoticeNew.ReturnDate = returnDate; ord_TourNoticeNew.ReturnTraffic = returnTraffic; ord_TourNoticeNew.ReturnTime = returnTime; ord_TourNoticeNew.ProviderName = providerName; ord_TourNoticeNew.GuideContact = guideContact; ord_TourNoticeNew.EmergencyContact = emergencyContact; ord_TourNoticeNew.CreateTime = createTime; ord_TourNoticeNew.Creator = creator; ord_TourNoticeNew.ReturnArrivalFlight = returnArrivalFlight; ord_TourNoticeNew.GatherLocation = gatherLocation; return ord_TourNoticeNew; }