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