public PricerCountryNameCollection FetchAll() { PricerCountryNameCollection coll = new PricerCountryNameCollection(); Query qry = new Query(PricerCountryName.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PricerCountryNameCollection FetchByQuery(Query qry) { PricerCountryNameCollection coll = new PricerCountryNameCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PricerCountryNameCollection FetchByID(object CountryId) { PricerCountryNameCollection coll = new PricerCountryNameCollection().Where("country_ID", CountryId).Load(); return coll; }