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