/// <summary> /// Deprecated Method for adding a new object to the Invoices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInvoices(Invoice invoice) { base.AddObject("Invoices", invoice); }
/// <summary> /// Create a new Invoice object. /// </summary> /// <param name="invoice_Code">Initial value of the Invoice_Code property.</param> public static Invoice CreateInvoice(global::System.Int32 invoice_Code) { Invoice invoice = new Invoice(); invoice.Invoice_Code = invoice_Code; return invoice; }