/// <summary> /// Deprecated Method for adding a new object to the PaymentStatuses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentStatuses(PaymentStatus paymentStatus) { base.AddObject("PaymentStatuses", paymentStatus); }
/// <summary> /// Create a new PaymentStatus object. /// </summary> /// <param name="paymentStatusID">Initial value of the PaymentStatusID property.</param> /// <param name="consumerID">Initial value of the ConsumerID property.</param> /// <param name="voucherID">Initial value of the VoucherID property.</param> /// <param name="paymentType">Initial value of the PaymentType property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="paymentDate">Initial value of the PaymentDate property.</param> public static PaymentStatus CreatePaymentStatus(global::System.Int64 paymentStatusID, global::System.Int64 consumerID, global::System.Int64 voucherID, global::System.Int32 paymentType, global::System.Int32 status, global::System.Decimal amount, global::System.DateTime paymentDate) { PaymentStatus paymentStatus = new PaymentStatus(); paymentStatus.PaymentStatusID = paymentStatusID; paymentStatus.ConsumerID = consumerID; paymentStatus.VoucherID = voucherID; paymentStatus.PaymentType = paymentType; paymentStatus.Status = status; paymentStatus.Amount = amount; paymentStatus.PaymentDate = paymentDate; return paymentStatus; }