示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InvoicePayments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvoicePayments(InvoicePayment invoicePayment)
 {
     base.AddObject("InvoicePayments", invoicePayment);
 }
示例#2
0
 /// <summary>
 /// Create a new InvoicePayment object.
 /// </summary>
 /// <param name="paymentMethodID">Initial value of the PaymentMethodID property.</param>
 /// <param name="invoiceID">Initial value of the InvoiceID property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 public static InvoicePayment CreateInvoicePayment(global::System.Int32 paymentMethodID, global::System.Int32 invoiceID, global::System.Decimal amount)
 {
     InvoicePayment invoicePayment = new InvoicePayment();
     invoicePayment.PaymentMethodID = paymentMethodID;
     invoicePayment.InvoiceID = invoiceID;
     invoicePayment.Amount = amount;
     return invoicePayment;
 }