/// <summary>
 /// Deprecated Method for adding a new object to the invoice_received EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToinvoice_received(invoice_received invoice_received)
 {
     base.AddObject("invoice_received", invoice_received);
 }
 /// <summary>
 /// Create a new invoice_received object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="invoice_id">Initial value of the invoice_id property.</param>
 public static invoice_received Createinvoice_received(global::System.Int32 id, global::System.Int32 invoice_id)
 {
     invoice_received invoice_received = new invoice_received();
     invoice_received.id = id;
     invoice_received.invoice_id = invoice_id;
     return invoice_received;
 }