public TPhieutrathuocKholeVekhochanChitietCollection FetchByQuery(Query qry) { TPhieutrathuocKholeVekhochanChitietCollection coll = new TPhieutrathuocKholeVekhochanChitietCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TPhieutrathuocKholeVekhochanChitietCollection FetchAll() { TPhieutrathuocKholeVekhochanChitietCollection coll = new TPhieutrathuocKholeVekhochanChitietCollection(); Query qry = new Query(TPhieutrathuocKholeVekhochanChitiet.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TPhieutrathuocKholeVekhochanChitietCollection FetchByID(object IdPhieuChitiet) { TPhieutrathuocKholeVekhochanChitietCollection coll = new TPhieutrathuocKholeVekhochanChitietCollection().Where("id_phieu_chitiet", IdPhieuChitiet).Load(); return(coll); }