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