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