/// <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="id">Initial value of the ID property.</param> /// <param name="method">Initial value of the Method property.</param> public static PaymentMethod CreatePaymentMethod(global::System.Int32 id, global::System.String method) { PaymentMethod paymentMethod = new PaymentMethod(); paymentMethod.ID = id; paymentMethod.Method = method; return paymentMethod; }