public KcbThanhtoanPhanbotheoPTTTCollection FetchByQuery(Query qry) { KcbThanhtoanPhanbotheoPTTTCollection coll = new KcbThanhtoanPhanbotheoPTTTCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KcbThanhtoanPhanbotheoPTTTCollection FetchAll() { KcbThanhtoanPhanbotheoPTTTCollection coll = new KcbThanhtoanPhanbotheoPTTTCollection(); Query qry = new Query(KcbThanhtoanPhanbotheoPTTT.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KcbThanhtoanPhanbotheoPTTTCollection FetchByID(object IdThanhtoan) { KcbThanhtoanPhanbotheoPTTTCollection coll = new KcbThanhtoanPhanbotheoPTTTCollection().Where("id_thanhtoan", IdThanhtoan).Load(); return(coll); }