/// <summary> /// Deprecated Method for adding a new object to the PaymentMethod EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentMethod(PaymentMethod paymentMethod) { base.AddObject("PaymentMethod", paymentMethod); }
/// <summary> /// Create a new PaymentMethod object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="notes">Initial value of the Notes property.</param> public static PaymentMethod CreatePaymentMethod(global::System.Int32 id, global::System.String name, global::System.String notes) { PaymentMethod paymentMethod = new PaymentMethod(); paymentMethod.Id = id; paymentMethod.Name = name; paymentMethod.Notes = notes; return paymentMethod; }