コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PaymentMethods EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaymentMethods(PaymentMethod paymentMethod)
 {
     base.AddObject("PaymentMethods", paymentMethod);
 }
コード例 #2
0
 /// <summary>
 /// Create a new PaymentMethod object.
 /// </summary>
 /// <param name="paymentMethod1">Initial value of the PaymentMethod1 property.</param>
 public static PaymentMethod CreatePaymentMethod(global::System.String paymentMethod1)
 {
     PaymentMethod paymentMethod = new PaymentMethod();
     paymentMethod.PaymentMethod1 = paymentMethod1;
     return paymentMethod;
 }