public KcbPhieuDctCollection FetchByQuery(Query qry) { KcbPhieuDctCollection coll = new KcbPhieuDctCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KcbPhieuDctCollection FetchAll() { KcbPhieuDctCollection coll = new KcbPhieuDctCollection(); Query qry = new Query(KcbPhieuDct.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KcbPhieuDctCollection FetchByID(object IdPhieuDct) { KcbPhieuDctCollection coll = new KcbPhieuDctCollection().Where("id_phieu_dct", IdPhieuDct).Load(); return(coll); }