/// <summary>
 /// Create a new TaxInvoiceReceipt object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="issuedDate">Initial value of the IssuedDate property.</param>
 /// <param name="issuedBy">Initial value of the IssuedBy property.</param>
 /// <param name="taxInvoiceReceiptPdf">Initial value of the TaxInvoiceReceiptPdf property.</param>
 /// <param name="paymentId">Initial value of the PaymentId property.</param>
 /// <param name="documentNumber">Initial value of the DocumentNumber property.</param>
 public static TaxInvoiceReceipt CreateTaxInvoiceReceipt(global::System.Int32 id, global::System.DateTime issuedDate, global::System.String issuedBy, global::System.Byte[] taxInvoiceReceiptPdf, global::System.Int64 paymentId, global::System.String documentNumber)
 {
     TaxInvoiceReceipt taxInvoiceReceipt = new TaxInvoiceReceipt();
     taxInvoiceReceipt.Id = id;
     taxInvoiceReceipt.IssuedDate = issuedDate;
     taxInvoiceReceipt.IssuedBy = issuedBy;
     taxInvoiceReceipt.TaxInvoiceReceiptPdf = taxInvoiceReceiptPdf;
     taxInvoiceReceipt.PaymentId = paymentId;
     taxInvoiceReceipt.DocumentNumber = documentNumber;
     return taxInvoiceReceipt;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TaxInvoiceReceipts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTaxInvoiceReceipts(TaxInvoiceReceipt taxInvoiceReceipt)
 {
     base.AddObject("TaxInvoiceReceipts", taxInvoiceReceipt);
 }