Exemplo n.º 1
0
        public TPhieutrathuocKholeVekhochanCollection FetchByQuery(Query qry)
        {
            TPhieutrathuocKholeVekhochanCollection coll = new TPhieutrathuocKholeVekhochanCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public TPhieutrathuocKholeVekhochanCollection FetchAll()
        {
            TPhieutrathuocKholeVekhochanCollection coll = new TPhieutrathuocKholeVekhochanCollection();
            Query qry = new Query(TPhieutrathuocKholeVekhochan.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public TPhieutrathuocKholeVekhochanCollection FetchByID(object IdPhieu)
        {
            TPhieutrathuocKholeVekhochanCollection coll = new TPhieutrathuocKholeVekhochanCollection().Where("id_phieu", IdPhieu).Load();

            return(coll);
        }