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); }
public TLichsuHieuchinhDonthuocChitietCollection FetchByID(object IdHieuchinh) { TLichsuHieuchinhDonthuocChitietCollection coll = new TLichsuHieuchinhDonthuocChitietCollection().Where("id_hieuchinh", IdHieuchinh).Load(); return(coll); }