/// <summary> /// Create a new tbl_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="mailSent">Initial value of the MailSent property.</param> public static tbl_Invoice Createtbl_Invoice(global::System.Guid id, global::System.DateTime invoiceDate, global::System.Int32 mailSent) { tbl_Invoice tbl_Invoice = new tbl_Invoice(); tbl_Invoice.ID = id; tbl_Invoice.InvoiceDate = invoiceDate; tbl_Invoice.MailSent = mailSent; return tbl_Invoice; }
/// <summary> /// Deprecated Method for adding a new object to the tbl_Invoice EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_Invoice(tbl_Invoice tbl_Invoice) { base.AddObject("tbl_Invoice", tbl_Invoice); }