public DmucKieukhamCollection FetchByQuery(Query qry) { DmucKieukhamCollection coll = new DmucKieukhamCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucKieukhamCollection FetchAll() { DmucKieukhamCollection coll = new DmucKieukhamCollection(); Query qry = new Query(DmucKieukham.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }