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