/// <summary> /// Deprecated Method for adding a new object to the PaymentMethods EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentMethods(PaymentMethod paymentMethod) { base.AddObject("PaymentMethods", paymentMethod); }
/// <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; }