/// <summary> /// Create a new txn_tour_passengers object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="age">Initial value of the Age property.</param> /// <param name="iDProof">Initial value of the IDProof property.</param> /// <param name="tourID">Initial value of the TourID 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 txn_tour_passengers Createtxn_tour_passengers(global::System.Int64 id, global::System.String name, global::System.String age, global::System.String iDProof, global::System.String tourID, global::System.String createdBy, global::System.DateTime createdDate, global::System.String lastModifiedBy, global::System.DateTime lastModifiedDate) { txn_tour_passengers txn_tour_passengers = new txn_tour_passengers(); txn_tour_passengers.ID = id; txn_tour_passengers.Name = name; txn_tour_passengers.Age = age; txn_tour_passengers.IDProof = iDProof; txn_tour_passengers.TourID = tourID; txn_tour_passengers.CreatedBy = createdBy; txn_tour_passengers.CreatedDate = createdDate; txn_tour_passengers.LastModifiedBy = lastModifiedBy; txn_tour_passengers.LastModifiedDate = lastModifiedDate; return txn_tour_passengers; }
/// <summary> /// Deprecated Method for adding a new object to the txn_tour_passengers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotxn_tour_passengers(txn_tour_passengers txn_tour_passengers) { base.AddObject("txn_tour_passengers", txn_tour_passengers); }