Example #1
0
        public KcbPhieuhenTiemchungCollection FetchByQuery(Query qry)
        {
            KcbPhieuhenTiemchungCollection coll = new KcbPhieuhenTiemchungCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public KcbPhieuhenTiemchungCollection FetchAll()
        {
            KcbPhieuhenTiemchungCollection coll = new KcbPhieuhenTiemchungCollection();
            Query qry = new Query(KcbPhieuhenTiemchung.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public KcbPhieuhenTiemchungCollection FetchByID(object Id)
        {
            KcbPhieuhenTiemchungCollection coll = new KcbPhieuhenTiemchungCollection().Where("id", Id).Load();

            return(coll);
        }