public ExchangeCurrencyCollection FetchByQuery(Query qry) { ExchangeCurrencyCollection coll = new ExchangeCurrencyCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ExchangeCurrencyCollection FetchAll() { ExchangeCurrencyCollection coll = new ExchangeCurrencyCollection(); Query qry = new Query(ExchangeCurrency.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ExchangeCurrencyCollection FetchByID(object ExchangeCurrencyKey) { ExchangeCurrencyCollection coll = new ExchangeCurrencyCollection().Where("exchange_currency_key", ExchangeCurrencyKey).Load(); return(coll); }