/// <summary> /// Create a new txn_payments object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="tourID">Initial value of the TourID property.</param> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="mode">Initial value of the Mode property.</param> public static txn_payments Createtxn_payments(global::System.Int64 id, global::System.String tourID, global::System.String customerID, global::System.DateTime date, global::System.String amount, global::System.String mode) { txn_payments txn_payments = new txn_payments(); txn_payments.ID = id; txn_payments.TourID = tourID; txn_payments.CustomerID = customerID; txn_payments.Date = date; txn_payments.Amount = amount; txn_payments.Mode = mode; return txn_payments; }
/// <summary> /// Deprecated Method for adding a new object to the txn_payments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotxn_payments(txn_payments txn_payments) { base.AddObject("txn_payments", txn_payments); }