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;
 }
 public InternalPurchaseTableAuditCollection FetchByID(object PurchaseAuditIDa)
 {
     InternalPurchaseTableAuditCollection coll = new InternalPurchaseTableAuditCollection().Where("PurchaseAuditIDa", PurchaseAuditIDa).Load();
     return coll;
 }