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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public TXuatthuocTheodonCollection FetchAll()
        {
            TXuatthuocTheodonCollection coll = new TXuatthuocTheodonCollection();
            Query qry = new Query(TXuatthuocTheodon.Schema);

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

            return(coll);
        }