/// <summary>
 /// Deprecated Method for adding a new object to the mst_tour_pay_master EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomst_tour_pay_master(mst_tour_pay_master mst_tour_pay_master)
 {
     base.AddObject("mst_tour_pay_master", mst_tour_pay_master);
 }
 /// <summary>
 /// Create a new mst_tour_pay_master object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="tourDateNo">Initial value of the TourDateNo property.</param>
 /// <param name="tourMasterNo">Initial value of the TourMasterNo property.</param>
 /// <param name="customerNo">Initial value of the CustomerNo property.</param>
 /// <param name="customerName">Initial value of the CustomerName property.</param>
 /// <param name="totalPessangers">Initial value of the TotalPessangers property.</param>
 /// <param name="children">Initial value of the Children property.</param>
 /// <param name="seniors">Initial value of the Seniors property.</param>
 /// <param name="adults">Initial value of the Adults property.</param>
 /// <param name="payableAmount">Initial value of the PayableAmount property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param>
 public static mst_tour_pay_master Createmst_tour_pay_master(global::System.Int64 id, global::System.Int64 tourDateNo, global::System.Int64 tourMasterNo, global::System.String customerNo, global::System.String customerName, global::System.String totalPessangers, global::System.String children, global::System.String seniors, global::System.String adults, global::System.String payableAmount, global::System.String createdBy, global::System.DateTime createdDate, global::System.String lastModifiedBy, global::System.String lastModifiedDate)
 {
     mst_tour_pay_master mst_tour_pay_master = new mst_tour_pay_master();
     mst_tour_pay_master.ID = id;
     mst_tour_pay_master.TourDateNo = tourDateNo;
     mst_tour_pay_master.TourMasterNo = tourMasterNo;
     mst_tour_pay_master.CustomerNo = customerNo;
     mst_tour_pay_master.CustomerName = customerName;
     mst_tour_pay_master.TotalPessangers = totalPessangers;
     mst_tour_pay_master.Children = children;
     mst_tour_pay_master.Seniors = seniors;
     mst_tour_pay_master.Adults = adults;
     mst_tour_pay_master.PayableAmount = payableAmount;
     mst_tour_pay_master.CreatedBy = createdBy;
     mst_tour_pay_master.CreatedDate = createdDate;
     mst_tour_pay_master.LastModifiedBy = lastModifiedBy;
     mst_tour_pay_master.LastModifiedDate = lastModifiedDate;
     return mst_tour_pay_master;
 }