예제 #1
0
        public TPhieutrathuocKholeVekhochanChitietCollection FetchByQuery(Query qry)
        {
            TPhieutrathuocKholeVekhochanChitietCollection coll = new TPhieutrathuocKholeVekhochanChitietCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public TPhieutrathuocKholeVekhochanChitietCollection FetchAll()
        {
            TPhieutrathuocKholeVekhochanChitietCollection coll = new TPhieutrathuocKholeVekhochanChitietCollection();
            Query qry = new Query(TPhieutrathuocKholeVekhochanChitiet.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }