/// <summary> /// Create a new PaymentRecord object. /// </summary> /// <param name="paymentID">Initial value of the paymentID property.</param> /// <param name="amount">Initial value of the amount property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="anonymous">Initial value of the Anonymous property.</param> /// <param name="transactionID">Initial value of the TransactionID property.</param> /// <param name="invoiceID">Initial value of the InvoiceID property.</param> public static PaymentRecord CreatePaymentRecord(global::System.Int32 paymentID, global::System.Double amount, global::System.DateTime createDate, global::System.String message, global::System.Boolean anonymous, global::System.Int32 transactionID, global::System.Int32 invoiceID) { PaymentRecord paymentRecord = new PaymentRecord(); paymentRecord.paymentID = paymentID; paymentRecord.amount = amount; paymentRecord.CreateDate = createDate; paymentRecord.Message = message; paymentRecord.Anonymous = anonymous; paymentRecord.TransactionID = transactionID; paymentRecord.InvoiceID = invoiceID; return(paymentRecord); }
/// <summary> /// Create a new PaymentRecord object. /// </summary> /// <param name="paymentID">Initial value of the paymentID property.</param> /// <param name="amount">Initial value of the amount property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="anonymous">Initial value of the Anonymous property.</param> /// <param name="transactionID">Initial value of the TransactionID property.</param> /// <param name="invoiceID">Initial value of the InvoiceID property.</param> public static PaymentRecord CreatePaymentRecord(global::System.Int32 paymentID, global::System.Double amount, global::System.DateTime createDate, global::System.String message, global::System.Boolean anonymous, global::System.Int32 transactionID, global::System.Int32 invoiceID) { PaymentRecord paymentRecord = new PaymentRecord(); paymentRecord.paymentID = paymentID; paymentRecord.amount = amount; paymentRecord.CreateDate = createDate; paymentRecord.Message = message; paymentRecord.Anonymous = anonymous; paymentRecord.TransactionID = transactionID; paymentRecord.InvoiceID = invoiceID; return paymentRecord; }
/// <summary> /// Deprecated Method for adding a new object to the PaymentRecords EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentRecords(PaymentRecord paymentRecord) { base.AddObject("PaymentRecords", paymentRecord); }