Esempio n. 1
0
        public NoitruPhieudieutriCollection FetchByQuery(Query qry)
        {
            NoitruPhieudieutriCollection coll = new NoitruPhieudieutriCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public NoitruPhieudieutriCollection FetchAll()
        {
            NoitruPhieudieutriCollection coll = new NoitruPhieudieutriCollection();
            Query qry = new Query(NoitruPhieudieutri.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public NoitruPhieudieutriCollection FetchByID(object IdPhieudieutri)
        {
            NoitruPhieudieutriCollection coll = new NoitruPhieudieutriCollection().Where("id_phieudieutri", IdPhieudieutri).Load();

            return(coll);
        }