/// <summary>
 /// Deprecated Method for adding a new object to the PaymentHistory EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaymentHistory(PaymentHistory paymentHistory)
 {
     base.AddObject("PaymentHistory", paymentHistory);
 }
 /// <summary>
 /// Create a new PaymentHistory object.
 /// </summary>
 /// <param name="ph_id">Initial value of the ph_id property.</param>
 /// <param name="u_username">Initial value of the u_username property.</param>
 /// <param name="ph_paymentprocessor">Initial value of the ph_paymentprocessor property.</param>
 /// <param name="ph_amount">Initial value of the ph_amount property.</param>
 /// <param name="ph_description">Initial value of the ph_description property.</param>
 /// <param name="ph_notes">Initial value of the ph_notes property.</param>
 /// <param name="ph_status">Initial value of the ph_status property.</param>
 /// <param name="ph_timestamp">Initial value of the ph_timestamp property.</param>
 public static PaymentHistory CreatePaymentHistory(global::System.Int32 ph_id, global::System.String u_username, global::System.String ph_paymentprocessor, global::System.Decimal ph_amount, global::System.String ph_description, global::System.String ph_notes, global::System.Int32 ph_status, global::System.DateTime ph_timestamp)
 {
     PaymentHistory paymentHistory = new PaymentHistory();
     paymentHistory.ph_id = ph_id;
     paymentHistory.u_username = u_username;
     paymentHistory.ph_paymentprocessor = ph_paymentprocessor;
     paymentHistory.ph_amount = ph_amount;
     paymentHistory.ph_description = ph_description;
     paymentHistory.ph_notes = ph_notes;
     paymentHistory.ph_status = ph_status;
     paymentHistory.ph_timestamp = ph_timestamp;
     return paymentHistory;
 }