public TPhieuCapphatChitietCollection FetchByQuery(Query qry) { TPhieuCapphatChitietCollection coll = new TPhieuCapphatChitietCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TPhieuCapphatChitietCollection FetchAll() { TPhieuCapphatChitietCollection coll = new TPhieuCapphatChitietCollection(); Query qry = new Query(TPhieuCapphatChitiet.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TPhieuCapphatChitietCollection FetchByID(object IdChitiet) { TPhieuCapphatChitietCollection coll = new TPhieuCapphatChitietCollection().Where("id_chitiet", IdChitiet).Load(); return(coll); }