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