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