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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public TPhieutrathuocKholeVekhochanChitietCollection FetchByID(object IdPhieuChitiet)
        {
            TPhieutrathuocKholeVekhochanChitietCollection coll = new TPhieutrathuocKholeVekhochanChitietCollection().Where("id_phieu_chitiet", IdPhieuChitiet).Load();

            return(coll);
        }