I have the following (simplified) objects:
public class repInvoice { public string InvoiceNumber { get; set; } public DateTime InvoiceDate { get; set; }