Ejemplo n.º 1
0
 /// <summary>
 /// Create a new PaymentMethod object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="method">Initial value of the Method property.</param>
 public static PaymentMethod CreatePaymentMethod(global::System.Guid id, global::System.String method)
 {
     PaymentMethod paymentMethod = new PaymentMethod();
     paymentMethod.ID = id;
     paymentMethod.Method = method;
     return paymentMethod;
 }
Ejemplo n.º 2
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);
 }