public CurrencyCollection FetchByQuery(Query qry) { CurrencyCollection coll = new CurrencyCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public CurrencyCollection FetchAll() { CurrencyCollection coll = new CurrencyCollection(); Query qry = new Query(Currency.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public CurrencyCollection FetchByID(object CodeID) { CurrencyCollection coll = new CurrencyCollection().Where("codeID", CodeID).Load(); return(coll); }