public TLichsuHieuchinhDonthuocCollection FetchAll() { TLichsuHieuchinhDonthuocCollection coll = new TLichsuHieuchinhDonthuocCollection(); Query qry = new Query(TLichsuHieuchinhDonthuoc.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TLichsuHieuchinhDonthuocCollection FetchByQuery(Query qry) { TLichsuHieuchinhDonthuocCollection coll = new TLichsuHieuchinhDonthuocCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TLichsuHieuchinhDonthuocCollection FetchByID(object IdHieuchinh) { TLichsuHieuchinhDonthuocCollection coll = new TLichsuHieuchinhDonthuocCollection().Where("id_hieuchinh", IdHieuchinh).Load(); return coll; }