Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PaymentInstruments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaymentInstruments(PaymentInstrument paymentInstrument)
 {
     base.AddObject("PaymentInstruments", paymentInstrument);
 }
Example #2
0
 /// <summary>
 /// Create a new PaymentInstrument object.
 /// </summary>
 /// <param name="paymentInstrumentId">Initial value of the PaymentInstrumentId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="instrumentNumber">Initial value of the InstrumentNumber property.</param>
 public static PaymentInstrument CreatePaymentInstrument(global::System.Int32 paymentInstrumentId, global::System.String userName, global::System.String firstName, global::System.String lastName, global::System.String instrumentNumber)
 {
     PaymentInstrument paymentInstrument = new PaymentInstrument();
     paymentInstrument.PaymentInstrumentId = paymentInstrumentId;
     paymentInstrument.UserName = userName;
     paymentInstrument.FirstName = firstName;
     paymentInstrument.LastName = lastName;
     paymentInstrument.InstrumentNumber = instrumentNumber;
     return paymentInstrument;
 }