/// <summary>
 /// Create a new PR_Payment object.
 /// </summary>
 /// <param name="pr_pay_id">Initial value of the pr_pay_id property.</param>
 /// <param name="pr_id">Initial value of the pr_id property.</param>
 /// <param name="exchange_rate">Initial value of the exchange_rate property.</param>
 /// <param name="fromcurrency">Initial value of the fromcurrency property.</param>
 /// <param name="status">Initial value of the status property.</param>
 public static PR_Payment CreatePR_Payment(global::System.Int32 pr_pay_id, global::System.Int32 pr_id, global::System.Double exchange_rate, global::System.String fromcurrency, global::System.Byte status)
 {
     PR_Payment pR_Payment = new PR_Payment();
     pR_Payment.pr_pay_id = pr_pay_id;
     pR_Payment.pr_id = pr_id;
     pR_Payment.exchange_rate = exchange_rate;
     pR_Payment.fromcurrency = fromcurrency;
     pR_Payment.status = status;
     return pR_Payment;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the PR_Payment EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPR_Payment(PR_Payment pR_Payment)
 {
     base.AddObject("PR_Payment", pR_Payment);
 }