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