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