Exemple #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);
 }
Exemple #2
0
 /// <summary>
 /// Create a new PaymentMethod object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="methodName">Initial value of the MethodName property.</param>
 public static PaymentMethod CreatePaymentMethod(global::System.Int32 id, global::System.String methodName)
 {
     PaymentMethod paymentMethod = new PaymentMethod();
     paymentMethod.ID = id;
     paymentMethod.MethodName = methodName;
     return paymentMethod;
 }