public PricerDestCountryCollection FetchByQuery(Query qry) { PricerDestCountryCollection coll = new PricerDestCountryCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PricerDestCountryCollection FetchAll() { PricerDestCountryCollection coll = new PricerDestCountryCollection(); Query qry = new Query(PricerDestCountry.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PricerDestCountryCollection FetchByID(object DestCountryId) { PricerDestCountryCollection coll = new PricerDestCountryCollection().Where("dest_country_ID", DestCountryId).Load(); return(coll); }