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