/// <summary>
 /// Create a new Invoice object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="invoiceDate">Initial value of the InvoiceDate property.</param>
 /// <param name="customer_Invoice">Initial value of the Customer_Invoice property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Invoice CreateInvoice(global::System.Int32 id, global::System.DateTime invoiceDate, global::System.Int32 customer_Invoice, global::System.Byte[] rowVersion)
 {
     Invoice invoice = new Invoice();
     invoice.Id = id;
     invoice.InvoiceDate = invoiceDate;
     invoice.Customer_Invoice = customer_Invoice;
     invoice.RowVersion = rowVersion;
     return invoice;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Invoices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvoices(Invoice invoice)
 {
     base.AddObject("Invoices", invoice);
 }