public SupplierCollection FetchByQuery(Query qry) { SupplierCollection coll = new SupplierCollection(); coll.Load(qry.ExecuteReader()); return(coll); }
public SupplierCollection FetchAll() { SupplierCollection coll = new SupplierCollection(); Query qry = new Query(Supplier.Schema); coll.Load(qry.ExecuteReader()); return(coll); }