/// <summary>
 /// Create a new SalePayment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="salePayment_Sale">Initial value of the SalePayment_Sale property.</param>
 /// <param name="deposit">Initial value of the Deposit property.</param>
 /// <param name="paymentDate">Initial value of the PaymentDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static SalePayment CreateSalePayment(global::System.Int32 id, global::System.Int32 salePayment_Sale, global::System.Decimal deposit, global::System.DateTime paymentDate, global::System.Byte[] rowVersion)
 {
     SalePayment salePayment = new SalePayment();
     salePayment.Id = id;
     salePayment.SalePayment_Sale = salePayment_Sale;
     salePayment.Deposit = deposit;
     salePayment.PaymentDate = paymentDate;
     salePayment.RowVersion = rowVersion;
     return salePayment;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the SalePayments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalePayments(SalePayment salePayment)
 {
     base.AddObject("SalePayments", salePayment);
 }