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