public HitblCommunityCtyCollection FetchByQuery(Query qry) { HitblCommunityCtyCollection coll = new HitblCommunityCtyCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public HitblCommunityCtyCollection FetchAll() { HitblCommunityCtyCollection coll = new HitblCommunityCtyCollection(); Query qry = new Query(HitblCommunityCty.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public HitblCommunityCtyCollection FetchByID(object CtyId) { HitblCommunityCtyCollection coll = new HitblCommunityCtyCollection().Where("CTY_ID", CtyId).Load(); return(coll); }