/// <summary> /// Deprecated Method for adding a new object to the Ord_TourNoticeSegment EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrd_TourNoticeSegment(Ord_TourNoticeSegment ord_TourNoticeSegment) { base.AddObject("Ord_TourNoticeSegment", ord_TourNoticeSegment); }
/// <summary> /// Create a new Ord_TourNoticeSegment object. /// </summary> /// <param name="segmentID">Initial value of the SegmentID property.</param> /// <param name="tourID">Initial value of the TourID property.</param> /// <param name="semgentDate">Initial value of the SemgentDate property.</param> /// <param name="segmentTitle">Initial value of the SegmentTitle property.</param> /// <param name="dinnerStandard">Initial value of the DinnerStandard property.</param> /// <param name="accommodationStandard">Initial value of the AccommodationStandard property.</param> public static Ord_TourNoticeSegment CreateOrd_TourNoticeSegment(global::System.Int32 segmentID, global::System.Int32 tourID, global::System.DateTime semgentDate, global::System.String segmentTitle, global::System.String dinnerStandard, global::System.String accommodationStandard) { Ord_TourNoticeSegment ord_TourNoticeSegment = new Ord_TourNoticeSegment(); ord_TourNoticeSegment.SegmentID = segmentID; ord_TourNoticeSegment.TourID = tourID; ord_TourNoticeSegment.SemgentDate = semgentDate; ord_TourNoticeSegment.SegmentTitle = segmentTitle; ord_TourNoticeSegment.DinnerStandard = dinnerStandard; ord_TourNoticeSegment.AccommodationStandard = accommodationStandard; return ord_TourNoticeSegment; }