/// <summary>
 /// Create a new PaymentHistory object.
 /// </summary>
 /// <param name="autoInc">Initial value of the AutoInc property.</param>
 /// <param name="customerName">Initial value of the CustomerName property.</param>
 /// <param name="paymentDate">Initial value of the PaymentDate property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 public static PaymentHistory CreatePaymentHistory(global::System.Int64 autoInc, global::System.String customerName, global::System.DateTime paymentDate, global::System.Decimal amount, global::System.Int64 customerID)
 {
     PaymentHistory paymentHistory = new PaymentHistory();
     paymentHistory.AutoInc = autoInc;
     paymentHistory.CustomerName = customerName;
     paymentHistory.PaymentDate = paymentDate;
     paymentHistory.Amount = amount;
     paymentHistory.CustomerID = customerID;
     return paymentHistory;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the PaymentHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaymentHistories(PaymentHistory paymentHistory)
 {
     base.AddObject("PaymentHistories", paymentHistory);
 }