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