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