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