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