/// <summary>
 /// Create a new LeasePaymentItem object.
 /// </summary>
 /// <param name="leasePaymentItemId">Initial value of the LeasePaymentItemId property.</param>
 /// <param name="leaseId">Initial value of the LeaseId property.</param>
 /// <param name="dueDateUtc">Initial value of the DueDateUtc property.</param>
 /// <param name="rent">Initial value of the Rent property.</param>
 /// <param name="lateFee">Initial value of the LateFee property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 /// <param name="totalDue">Initial value of the TotalDue property.</param>
 public static LeasePaymentItem CreateLeasePaymentItem(global::System.Int32 leasePaymentItemId, global::System.Int32 leaseId, global::System.DateTime dueDateUtc, global::System.Decimal rent, global::System.Decimal lateFee, global::System.Boolean isDeleted, global::System.Decimal totalDue)
 {
     LeasePaymentItem leasePaymentItem = new LeasePaymentItem();
     leasePaymentItem.LeasePaymentItemId = leasePaymentItemId;
     leasePaymentItem.LeaseId = leaseId;
     leasePaymentItem.DueDateUtc = dueDateUtc;
     leasePaymentItem.Rent = rent;
     leasePaymentItem.LateFee = lateFee;
     leasePaymentItem.IsDeleted = isDeleted;
     leasePaymentItem.TotalDue = totalDue;
     return leasePaymentItem;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the LeasePaymentItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLeasePaymentItems(LeasePaymentItem leasePaymentItem)
 {
     base.AddObject("LeasePaymentItems", leasePaymentItem);
 }