/// <summary> /// Create a new LeadInvoice object. /// </summary> /// <param name="invoiceID">Initial value of the InvoiceID property.</param> public static LeadInvoice CreateLeadInvoice(global::System.Int32 invoiceID) { LeadInvoice leadInvoice = new LeadInvoice(); leadInvoice.InvoiceID = invoiceID; return leadInvoice; }
/// <summary> /// Deprecated Method for adding a new object to the LeadInvoices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeadInvoices(LeadInvoice leadInvoice) { base.AddObject("LeadInvoices", leadInvoice); }