Exemple #1
0
 public InvoiceIndex(Invoice Invoices)
 {
     _id = Invoices.InvoiceId;
     this.OwnerId = Invoices.OwnerId;
     this.PONo = Invoices.PONo;
     this.Customer = Invoices.Customer;
     this.InvoiceNo = Invoices.InvoiceNo;
     buildKeywords(Invoices);
 }
Exemple #2
0
 private void buildKeywords(Invoice Invoices)
 {
     Keywords = new string[] {
         Invoices.InvoiceId.ToString(),
         Invoices.OwnerId,
         Invoices.PONo,
         Invoices.Customer.Name,
         Invoices.InvoiceNo
     };
 }