public CurrencyRateCollection FetchByQuery(Query qry) { CurrencyRateCollection coll = new CurrencyRateCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public CurrencyRateCollection FetchAll() { CurrencyRateCollection coll = new CurrencyRateCollection(); Query qry = new Query(CurrencyRate.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public CurrencyRateCollection FetchByID(object CurrencyRateID) { CurrencyRateCollection coll = new CurrencyRateCollection().Where("CurrencyRateID", CurrencyRateID).Load(); return(coll); }