/// <summary>
 /// Deprecated Method for adding a new object to the Installments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInstallments(Installment installment)
 {
     base.AddObject("Installments", installment);
 }
 /// <summary>
 /// Create a new Installment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="installmentDate">Initial value of the InstallmentDate property.</param>
 /// <param name="installmentBy">Initial value of the InstallmentBy property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="method">Initial value of the Method property.</param>
 /// <param name="paymentId">Initial value of the PaymentId property.</param>
 public static Installment CreateInstallment(global::System.Int32 id, global::System.DateTime installmentDate, global::System.String installmentBy, global::System.Decimal amount, global::System.String method, global::System.Int64 paymentId)
 {
     Installment installment = new Installment();
     installment.Id = id;
     installment.InstallmentDate = installmentDate;
     installment.InstallmentBy = installmentBy;
     installment.Amount = amount;
     installment.Method = method;
     installment.PaymentId = paymentId;
     return installment;
 }