/// <summary> /// Deprecated Method for adding a new object to the invoice_target EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToinvoice_target(invoice_target invoice_target) { base.AddObject("invoice_target", invoice_target); }
/// <summary> /// Create a new invoice_target object. /// </summary> /// <param name="invoice_target_id">Initial value of the invoice_target_id property.</param> /// <param name="quotation_target_id">Initial value of the quotation_target_id property.</param> /// <param name="quotation_id">Initial value of the quotation_id property.</param> /// <param name="target_id">Initial value of the target_id property.</param> /// <param name="bill_status">Initial value of the bill_status property.</param> /// <param name="percentage">Initial value of the percentage property.</param> /// <param name="modify_date">Initial value of the modify_date property.</param> /// <param name="amount">Initial value of the amount property.</param> /// <param name="invoice_id">Initial value of the invoice_id property.</param> /// <param name="invoice_no">Initial value of the invoice_no property.</param> public static invoice_target Createinvoice_target(global::System.Int32 invoice_target_id, global::System.Int32 quotation_target_id, global::System.Int32 quotation_id, global::System.Int32 target_id, global::System.Byte bill_status, global::System.Int32 percentage, global::System.DateTime modify_date, global::System.Decimal amount, global::System.Int32 invoice_id, global::System.String invoice_no) { invoice_target invoice_target = new invoice_target(); invoice_target.invoice_target_id = invoice_target_id; invoice_target.quotation_target_id = quotation_target_id; invoice_target.quotation_id = quotation_id; invoice_target.target_id = target_id; invoice_target.bill_status = bill_status; invoice_target.percentage = percentage; invoice_target.modify_date = modify_date; invoice_target.amount = amount; invoice_target.invoice_id = invoice_id; invoice_target.invoice_no = invoice_no; return invoice_target; }