/// <summary> /// Create a new Invoice object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Invoice CreateInvoice(global::System.String id) { Invoice invoice = new Invoice(); invoice.ID = id; return invoice; }
/// <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); }