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