/// <summary> /// Deprecated Method for adding a new object to the PaymentMode EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentMode(PaymentMode paymentMode) { base.AddObject("PaymentMode", paymentMode); }
/// <summary> /// Create a new PaymentMode object. /// </summary> /// <param name="paymentModeId">Initial value of the PaymentModeId property.</param> /// <param name="name">Initial value of the Name property.</param> public static PaymentMode CreatePaymentMode(global::System.Int16 paymentModeId, global::System.String name) { PaymentMode paymentMode = new PaymentMode(); paymentMode.PaymentModeId = paymentModeId; paymentMode.Name = name; return paymentMode; }