public CurrencyCloudMarketCollection FetchByQuery(Query qry)
        {
            CurrencyCloudMarketCollection coll = new CurrencyCloudMarketCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public CurrencyCloudMarketCollection FetchAll()
        {
            CurrencyCloudMarketCollection coll = new CurrencyCloudMarketCollection();
            Query qry = new Query(CurrencyCloudMarket.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public CurrencyCloudMarketCollection FetchByID(object CurrencycloudMarketKey)
        {
            CurrencyCloudMarketCollection coll = new CurrencyCloudMarketCollection().Where("currencycloud_market_key", CurrencycloudMarketKey).Load();

            return(coll);
        }