public InvoiceTableCollection FetchByQuery(Query qry) { InvoiceTableCollection coll = new InvoiceTableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public InvoiceTableCollection FetchAll() { InvoiceTableCollection coll = new InvoiceTableCollection(); Query qry = new Query(InvoiceTable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }