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